From f0d8e80229002bfa190b5b30b6a45d0ac66b27be Mon Sep 17 00:00:00 2001 From: Shane Poppleton Date: Thu, 27 Jun 2024 17:06:20 +1000 Subject: =?UTF-8?q?=F0=9F=94=80=20Added=20missing=20title=20attribute=20(#?= =?UTF-8?q?152)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lustre/attribute.gleam | 5 +++++ 1 file changed, 5 insertions(+) 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 ---------------------------------------------------------------------- /// -- cgit v1.2.3