From 4ee0dfae75fda3a8b6347d55c728b50ce5c210d9 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 26 Jul 2020 18:16:59 +0200 Subject: Allow to customize icons --- src/Lib/Dom/HA.ml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Lib/Dom/HA.ml (limited to 'src/Lib/Dom/HA.ml') diff --git a/src/Lib/Dom/HA.ml b/src/Lib/Dom/HA.ml new file mode 100644 index 0000000..a7a45ce --- /dev/null +++ b/src/Lib/Dom/HA.ml @@ -0,0 +1,23 @@ +(* Attribute creation *) + +let id v = H.TextAttr ("id", v) + +let class_ v = H.TextAttr ("class", v) + +let viewBox v = H.TextAttr ("viewBox", v) + +let d v = H.TextAttr ("d", v) + +let type_ v = H.TextAttr ("type", v) + +let min_ v = H.TextAttr ("min", v) + +let value v = H.TextAttr ("value", v) + +let for_ v = H.TextAttr ("for", v) + +let style v = H.TextAttr ("style", v) + +let href v = H.TextAttr ("href", v) + +let autocomplete v = H.TextAttr ("autocomplete", v) -- cgit v1.2.3