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 15f322d..367aa85 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -116,6 +116,11 @@ pub fn role(name: String) -> Attribute(msg) { attribute("role", name) } +/// +pub fn title(name: String) -> Attribute(msg) { + attribute("title", name) +} + // INPUTS ---------------------------------------------------------------------- /// |