diff options
-rw-r--r-- | src/lustre/attribute.gleam | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 7653eca..24c26df 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -162,6 +162,11 @@ pub fn id(name: String) -> Attribute(msg) { attribute("id", name) } +/// +pub fn role(name: String) -> Attribute(msg) { + attribute("role", name) +} + // INPUTS ---------------------------------------------------------------------- /// |