diff options
author | Shane Poppleton <shane@bjja.com.au> | 2024-06-27 17:06:20 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 08:06:20 +0100 |
commit | f0d8e80229002bfa190b5b30b6a45d0ac66b27be (patch) | |
tree | 8343a42f1c4f309295017df7d32abf66e1ede15f | |
parent | a603dab48f68f59367d3489034f5e3c47278c494 (diff) | |
download | lustre-f0d8e80229002bfa190b5b30b6a45d0ac66b27be.tar.gz lustre-f0d8e80229002bfa190b5b30b6a45d0ac66b27be.zip |
🔀 Added missing title attribute (#152)
-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 ---------------------------------------------------------------------- /// |