diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lustre/attribute.gleam | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 7b3248d..90b7963 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -339,3 +339,10 @@ pub fn form_novalidate(value: Bool) -> Attribute(msg) { pub fn form_target(target: String) -> Attribute(msg) { attribute("formtarget", target) } + +// DIALOGS --------------------------------------------------------------------- + +/// +pub fn open(is_open: Bool) -> Attribute(msg) { + property("open", is_open) +} |