aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2022-05-21 13:46:58 +0100
committerHayleigh Thompson <me@hayleigh.dev>2022-05-21 13:46:58 +0100
commit302a371e3667c2e7e40557ccaf9501863d25205b (patch)
tree32f5c522f00c4ecf29b42c7764f210915c27b53b
parent6f774e27a1a1d2503e5da4a50a3d306abc55ce6b (diff)
downloadlustre-302a371e3667c2e7e40557ccaf9501863d25205b.tar.gz
lustre-302a371e3667c2e7e40557ccaf9501863d25205b.zip
:rocket: Deploy docs to GitHub Pages.
-rw-r--r--docs/index.html12
-rw-r--r--docs/lustre.html220
-rw-r--r--docs/lustre/attribute.html135
-rw-r--r--docs/lustre/cmd.html30
-rw-r--r--docs/lustre/element.html360
-rw-r--r--docs/lustre/event.html63
6 files changed, 771 insertions, 49 deletions
diff --git a/docs/index.html b/docs/index.html
index ff58606..f5fda5e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -140,13 +140,13 @@
<h2>
<a href="./">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
diff --git a/docs/lustre.html b/docs/lustre.html
index 5bd99b1..d0bbc53 100644
--- a/docs/lustre.html
+++ b/docs/lustre.html
@@ -140,13 +140,13 @@
<h2>
<a href="./">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
@@ -230,7 +238,9 @@
<li><a href="#application">application</a></li>
- <li><a href="#basic">basic</a></li>
+ <li><a href="#element">element</a></li>
+
+ <li><a href="#simple">simple</a></li>
<li><a href="#start">start</a></li>
@@ -245,6 +255,7 @@
<a href="#module-name">lustre</a>
<svg class="icon icon-gleam-chasse"><use xlink:href="#icon-gleam-chasse"></use></svg>
</h1>
+<p>Lustre is a declarative framework for building Web apps in Gleam. </p>
@@ -263,6 +274,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L54-L54">
+ &lt;/&gt;
+ </a>
</div>
<div class="custom-type-constructors">
@@ -274,30 +288,31 @@ do with an <code>App</code> is pass it to <a href="#start"><code>start</code></a
anything but <a href="#start"><code>start</code></a> them, the constructors are separated in case
you want to set up an application but defer starting it until some later point
in time.</p>
-<pre><code> ┌────────┐
- │ │
- │ update │
- │ │
- └──────┬─┘
- ▲ │
- │ │ #(State, Action)
- Action │ │
- │ │
- │ ▼
- ┌──────┐ ┌─────────┴──────────────┐
- │ │ #(State, Action) │ │
- │ init ├───────────────────►│ Lustre Runtime │
- │ │ │ │
- └──────┘ └──────────────┬─────────┘
- ▲ │
- │ │ State
- Action │ │
- │ ▼
- ┌─┴──────┐
- │ │
- │ render │
- │ │
- └────────┘
+<pre><code> +--------+
+ | |
+ | update |
+ | |
+ +--------+
+ ^ |
+ | |
+ Action | | #(State, Action)
+ | |
+ | v
+ +------+ +------------------------+
+ | | #(State, Action) | |
+ | init |-------------------&gt;| Lustre Runtime |
+ | | | |
+ +------+ +------------------------+
+ ^ |
+ | |
+ Action | | State
+ | |
+ | v
+ +--------+
+ | |
+ | render |
+ | |
+ +--------+
</code></pre>
<p><small>Someone please PR the Gleam docs generator to fix the monospace font,
thanks! 💖</small></p>
@@ -316,6 +331,9 @@ thanks! 💖</small></p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L62-L62">
+ &lt;/&gt;
+ </a>
</div>
<div class="custom-type-constructors">
@@ -369,36 +387,146 @@ thanks! 💖</small></p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L199-L199">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn application(init: #(a, Cmd(b)), update: fn(a, b) -&gt;
#(a, Cmd(b)), render: fn(a) -&gt; Element(b)) -&gt; App(a, b)</code></pre>
- <div class="rendered-markdown"><p>Create a more complex application mimicing TEA – the Elm architecture. We
-start with some initial <code>state</code>, a function to update that state, and then
-a render function to derive our app’s view from that state.</p>
-<p>Events produced by elements are passed a <code>dispatch</code> function that can be
-used to emit actions that trigger your <code>update</code> function to be called and
-trigger a rerender.</p>
+ <div class="rendered-markdown"><p>An evolution of a <a href="#simple"><code>simple</code></a> app that allows you to return a
+<a href="./lustre/cmd.html#Cmd"><code>Cmd</code></a> from your <code>init</code> and <code>update</code>s. Commands give
+us a way to perform side effects like sending an HTTP request or running a
+timer and then dispatch actions back to the runtime to trigger an <code>update</code>.</p>
+<pre><code>import lustre
+import lustre/cmd
+import lustre/element
+
+pub fn main () {
+ let init = #(0, tick())
+ let update = fn (state, action) {
+ case action {
+ Tick -&gt; #(state + 1, tick())
+ }
+ }
+ let render = fn (state) {
+ element.div([], [
+ element.text(&quot;Count is: &quot;)
+ element.text(state |&gt; int.to_string |&gt; element.text)
+ ])
+ }
+
+ let app = lustre.simple(init, update, render)
+ lustre.start(app, &quot;#root&quot;)
+}
+
+fn tick () -&gt; Cmd(Action) {
+ cmd.from(fn (dispatch) {
+ setInterval(fn () {
+ dispatch(Tick)
+ }, 1000)
+ })
+}
+
+external fn set_timeout (f: fn () -&gt; a, delay: Int) -&gt; Nil
+ = &quot;&quot; &quot;window.setTimeout&quot;
+</code></pre>
</div>
</div>
<div class="member">
<div class="member-name">
- <h2 id="basic">
- <a href="#basic">
- basic
+ <h2 id="element">
+ <a href="#element">
+ element
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L101-L101">
+ &lt;/&gt;
+ </a>
</div>
- <pre><code class="hljs gleam">pub fn basic(element: Element(a)) -&gt; App(Nil, a)</code></pre>
+ <pre><code class="hljs gleam">pub fn element(element: Element(a)) -&gt; App(Nil, a)</code></pre>
<div class="rendered-markdown"><p>Create a basic lustre app that just renders some element on the page.
Note that this doesn’t mean the content is static! With <code>element.stateful</code>
you can still create components with local state.</p>
<p>Basic lustre apps don’t have any <em>global</em> application state and so the
-plumbing is a lot simpler. If you find yourself passing lot’s state of state
-around, you might want to consider using <code>application</code> instead.</p>
+plumbing is a lot simpler. If you find yourself passing lots of state around,
+you might want to consider using <a href="#simple"><code>simple</code></a> or <a href="#application"><code>application</code></a>
+instead.</p>
+<pre><code class="language-gleam">import lustre
+import lustre/element
+
+pub fn main () {
+ let app = lustre.element(
+ element.h1([], [
+ element.text(&quot;Hello, world!&quot;)
+ ])
+ )
+
+ lustre.start(app, &quot;#root&quot;)
+}
+</code></pre>
+</div>
+ </div>
+
+ <div class="member">
+ <div class="member-name">
+ <h2 id="simple">
+ <a href="#simple">
+ simple
+ </a>
+ </h2>
+
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L153-L153">
+ &lt;/&gt;
+ </a>
+
+ </div>
+ <pre><code class="hljs gleam">pub fn simple(init: a, update: fn(a, b) -&gt; a, render: fn(a) -&gt;
+ Element(b)) -&gt; App(a, b)</code></pre>
+ <div class="rendered-markdown"><p>If you start off with a simple <code>[element</code>](#element) app, you may find
+yourself leaning on <a href="./lustrel/element.html#stateful"><code>stateful</code></a> elements
+to manage state used throughout your app. If that’s the case or if you know
+you need some global state from the get-go, you might want to construct a
+<a href="#simple"><code>simple</code></a> app instead.</p>
+<p>This is one app constructor that allows your HTML elements to dispatch actions
+to update your program state. </p>
+<pre><code>import gleam/int
+import lustre
+import lustre/element
+import lustre/event.{ dispatch }
+
+type Action {
+ Incr
+ Decr
+}
+
+pub fn main () {
+ let init = 0
+ let update = fn (state, action) {
+ case action {
+ Incr -&gt; state + 1
+ Decr -&gt; state - 1
+ }
+ }
+ let render = fn (state) {
+ element.div([], [
+ element.button([ event.on_click(dispatch(Decr)) ], [
+ element.text(&quot;-&quot;)
+ ]),
+ element.text(state |&gt; int.to_string |&gt; element.text),
+ element.button([ event.on_click(dispatch(Incr)) ], [
+ element.text(&quot;+&quot;)
+ ])
+ ])
+ }
+
+ let app = lustre.simple(init, update, render)
+ lustre.start(app, &quot;#root&quot;)
+}
+</code></pre>
</div>
</div>
@@ -410,6 +538,9 @@ around, you might want to consider using <code>application</code> instead.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre.gleam#L226-L226">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn start(app: App(a, b), selector: String) -&gt; Result(
@@ -421,6 +552,17 @@ need to actually start it! This function will mount your app to the DOM
node that matches the query selector you provide.</p>
<p>If everything mounted OK, we’ll get back a dispatch function that you can
call to send actions to your app and trigger an update. </p>
+<pre><code>import lustre
+
+pub fn main () {
+ let app = lustre.appliation(init, update, render)
+ assert Ok(dispatch) = lustre.start(app, &quot;#root&quot;)
+
+ dispatch(Incr)
+ dispatch(Incr)
+ dispatch(Incr)
+}
+</code></pre>
</div>
</div>
diff --git a/docs/lustre/attribute.html b/docs/lustre/attribute.html
index cebc46d..0fd6856 100644
--- a/docs/lustre/attribute.html
+++ b/docs/lustre/attribute.html
@@ -140,13 +140,13 @@
<h2>
<a href="../">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
@@ -335,6 +343,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L12-L12">
+ &lt;/&gt;
+ </a>
</div>
<div class="custom-type-constructors">
@@ -366,6 +377,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L95-L95">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn accept(types: List(String)) -&gt; Attribute(a)</code></pre>
@@ -380,6 +394,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L100-L100">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn accept_charset(types: List(String)) -&gt; Attribute(a)</code></pre>
@@ -394,6 +411,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L105-L105">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn action(uri: String) -&gt; Attribute(a)</code></pre>
@@ -408,6 +428,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L223-L223">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn alt(text: String) -&gt; Attribute(a)</code></pre>
@@ -422,6 +445,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L21-L21">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn attribute(name: String, value: String) -&gt; Attribute(a)</code></pre>
@@ -436,6 +462,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L110-L110">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn autocomplete(should_autocomplete: Bool) -&gt; Attribute(a)</code></pre>
@@ -450,6 +479,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L115-L115">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn autofocus(should_autofocus: Bool) -&gt; Attribute(a)</code></pre>
@@ -464,6 +496,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L230-L230">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn autoplay(should_autoplay: Bool) -&gt; Attribute(a)</code></pre>
@@ -478,6 +513,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L78-L78">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn checked(is_checked: Bool) -&gt; Attribute(a)</code></pre>
@@ -492,6 +530,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L46-L46">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn class(name: String) -&gt; Attribute(a)</code></pre>
@@ -506,6 +547,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L51-L51">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn classes(names: List(#(String, Bool))) -&gt; Attribute(a)</code></pre>
@@ -520,6 +564,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L169-L169">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn cols(val: Int) -&gt; Attribute(a)</code></pre>
@@ -534,6 +581,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L235-L235">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn controls(visible: Bool) -&gt; Attribute(a)</code></pre>
@@ -548,6 +598,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L120-L120">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn disabled(is_disabled: Bool) -&gt; Attribute(a)</code></pre>
@@ -562,6 +615,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L196-L196">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn download(filename: String) -&gt; Attribute(a)</code></pre>
@@ -576,6 +632,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L31-L31">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn event(name: String, handler: fn(Dynamic, fn(a) -&gt; Nil) -&gt;
@@ -591,6 +650,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L145-L145">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn for(id: String) -&gt; Attribute(a)</code></pre>
@@ -605,6 +667,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L213-L213">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn height(val: Int) -&gt; Attribute(a)</code></pre>
@@ -619,6 +684,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L186-L186">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn href(uri: String) -&gt; Attribute(a)</code></pre>
@@ -633,6 +701,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L61-L61">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn id(name: String) -&gt; Attribute(a)</code></pre>
@@ -647,6 +718,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L240-L240">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn loop(should_loop: Bool) -&gt; Attribute(a)</code></pre>
@@ -661,6 +735,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L152-L152">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn max(val: String) -&gt; Attribute(a)</code></pre>
@@ -675,6 +752,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L157-L157">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn min(val: String) -&gt; Attribute(a)</code></pre>
@@ -689,6 +769,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L125-L125">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn name(name: String) -&gt; Attribute(a)</code></pre>
@@ -703,6 +786,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L130-L130">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn pattern(regex: String) -&gt; Attribute(a)</code></pre>
@@ -717,6 +803,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L83-L83">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn placeholder(text: String) -&gt; Attribute(a)</code></pre>
@@ -731,6 +820,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L26-L26">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn property(name: String, value: Dynamic) -&gt; Attribute(a)</code></pre>
@@ -745,6 +837,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L135-L135">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn readonly(is_readonly: Bool) -&gt; Attribute(a)</code></pre>
@@ -759,6 +854,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L201-L201">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn rel(relationship: String) -&gt; Attribute(a)</code></pre>
@@ -773,6 +871,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L140-L140">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn require(is_required: Bool) -&gt; Attribute(a)</code></pre>
@@ -787,6 +888,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L174-L174">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn rows(val: Int) -&gt; Attribute(a)</code></pre>
@@ -801,6 +905,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L88-L88">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn selected(is_selected: Bool) -&gt; Attribute(a)</code></pre>
@@ -815,6 +922,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L208-L208">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn src(uri: String) -&gt; Attribute(a)</code></pre>
@@ -829,6 +939,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L162-L162">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn step(val: String) -&gt; Attribute(a)</code></pre>
@@ -843,6 +956,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L38-L38">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn style(properties: List(#(String, String))) -&gt; Attribute(a)</code></pre>
@@ -857,6 +973,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L191-L191">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn target(target: String) -&gt; Attribute(a)</code></pre>
@@ -871,6 +990,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L68-L68">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn type_(name: String) -&gt; Attribute(a)</code></pre>
@@ -885,6 +1007,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L73-L73">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn value(val: Dynamic) -&gt; Attribute(a)</code></pre>
@@ -899,6 +1024,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L218-L218">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn width(val: Int) -&gt; Attribute(a)</code></pre>
@@ -913,6 +1041,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/attribute.gleam#L179-L179">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn wrap(mode: String) -&gt; Attribute(a)</code></pre>
diff --git a/docs/lustre/cmd.html b/docs/lustre/cmd.html
index 5f5220a..a89fbe8 100644
--- a/docs/lustre/cmd.html
+++ b/docs/lustre/cmd.html
@@ -140,13 +140,13 @@
<h2>
<a href="../">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
@@ -265,6 +273,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L7-L7">
+ &lt;/&gt;
+ </a>
</div>
<div class="custom-type-constructors">
@@ -296,6 +307,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L24-L24">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn batch(cmds: List(Cmd(a))) -&gt; Cmd(a)</code></pre>
@@ -310,6 +324,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L14-L14">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn from(cmd: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Cmd(a)</code></pre>
@@ -324,6 +341,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L30-L30">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn map(cmd: Cmd(a), f: fn(a) -&gt; b) -&gt; Cmd(b)</code></pre>
@@ -338,6 +358,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L18-L18">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn none() -&gt; Cmd(a)</code></pre>
@@ -352,6 +375,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/cmd.gleam#L46-L46">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn to_list(cmd: Cmd(a)) -&gt; List(fn(fn(a) -&gt; Nil) -&gt; Nil)</code></pre>
diff --git a/docs/lustre/element.html b/docs/lustre/element.html
index b392213..24862ea 100644
--- a/docs/lustre/element.html
+++ b/docs/lustre/element.html
@@ -140,13 +140,13 @@
<h2>
<a href="../">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
@@ -485,6 +493,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L10-L10">
+ &lt;/&gt;
+ </a>
</div>
<div class="custom-type-constructors">
@@ -516,6 +527,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L248-L248">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn a(attributes: List(Attribute(a)), children: List(
@@ -532,6 +546,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L253-L253">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn abbr(attributes: List(Attribute(a)), children: List(
@@ -548,6 +565,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L102-L102">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn address(attributes: List(Attribute(a)), children: List(
@@ -564,6 +584,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L386-L386">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn area(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -578,6 +601,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L107-L107">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn article(attributes: List(Attribute(a)), children: List(
@@ -594,6 +620,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L112-L112">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn aside(attributes: List(Attribute(a)), children: List(
@@ -610,6 +639,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L391-L391">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn audio(attributes: List(Attribute(a)), children: List(
@@ -626,6 +658,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L258-L258">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn b(attributes: List(Attribute(a)), children: List(
@@ -642,6 +677,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L67-L67">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn base(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -656,6 +694,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L263-L263">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn bdi(attributes: List(Attribute(a)), children: List(
@@ -672,6 +713,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L268-L268">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn bdo(attributes: List(Attribute(a)), children: List(
@@ -688,6 +732,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L175-L175">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn blockquote(attributes: List(Attribute(a)), children: List(
@@ -704,6 +751,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L94-L94">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn body(attributes: List(Attribute(a)), children: List(
@@ -720,6 +770,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L273-L273">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn br(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -734,6 +787,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L548-L548">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn button(attributes: List(Attribute(a)), children: List(
@@ -750,6 +806,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L469-L469">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn canvas(attributes: List(Attribute(a)), children: List(
@@ -766,6 +825,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L495-L495">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn caption(attributes: List(Attribute(a)), children: List(
@@ -782,6 +844,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L278-L278">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn cite(attributes: List(Attribute(a)), children: List(
@@ -798,6 +863,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L283-L283">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn code(attributes: List(Attribute(a)), children: List(
@@ -814,6 +882,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L500-L500">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn col(attributes: List(Attribute(a)), children: List(
@@ -830,6 +901,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L505-L505">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn colgroup(attributes: List(Attribute(a)), children: List(
@@ -846,6 +920,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L553-L553">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn datalist(attributes: List(Attribute(a)), children: List(
@@ -862,6 +939,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L180-L180">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dd(attributes: List(Attribute(a)), children: List(
@@ -878,6 +958,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L482-L482">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn del(attributes: List(Attribute(a)), children: List(
@@ -894,6 +977,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L621-L621">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn details(attributes: List(Attribute(a)), children: List(
@@ -910,6 +996,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L288-L288">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dfn(attributes: List(Attribute(a)), children: List(
@@ -926,6 +1015,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L626-L626">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dialog(attributes: List(Attribute(a)), children: List(
@@ -942,6 +1034,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L185-L185">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn div(attributes: List(Attribute(a)), children: List(
@@ -958,6 +1053,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L190-L190">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dl(attributes: List(Attribute(a)), children: List(
@@ -974,6 +1072,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L195-L195">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dt(attributes: List(Attribute(a)), children: List(
@@ -990,6 +1091,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L293-L293">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn em(attributes: List(Attribute(a)), children: List(
@@ -1006,6 +1110,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L419-L419">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn embed(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1020,6 +1127,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L558-L558">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn fieldset(attributes: List(Attribute(a)), children: List(
@@ -1036,6 +1146,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L200-L200">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn figcaption(attributes: List(Attribute(a)), children: List(
@@ -1052,6 +1165,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L205-L205">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn figure(attributes: List(Attribute(a)), children: List(
@@ -1068,6 +1184,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L117-L117">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn footer(attributes: List(Attribute(a)), children: List(
@@ -1084,6 +1203,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L563-L563">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn form(attributes: List(Attribute(a)), children: List(
@@ -1100,6 +1222,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L35-L36">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub external fn fragment(
@@ -1118,6 +1243,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L127-L127">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h1(attributes: List(Attribute(a)), children: List(
@@ -1134,6 +1262,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L132-L132">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h2(attributes: List(Attribute(a)), children: List(
@@ -1150,6 +1281,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L137-L137">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h3(attributes: List(Attribute(a)), children: List(
@@ -1166,6 +1300,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L142-L142">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h4(attributes: List(Attribute(a)), children: List(
@@ -1182,6 +1319,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L147-L147">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h5(attributes: List(Attribute(a)), children: List(
@@ -1198,6 +1338,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L152-L152">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn h6(attributes: List(Attribute(a)), children: List(
@@ -1214,6 +1357,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L72-L72">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn head(attributes: List(Attribute(a)), children: List(
@@ -1230,6 +1376,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L122-L122">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn header(attributes: List(Attribute(a)), children: List(
@@ -1246,6 +1395,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L210-L210">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn hr(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1260,6 +1412,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L59-L59">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn html(attributes: List(Attribute(a)), head: Element(a), body: Element(
@@ -1276,6 +1431,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L298-L298">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn i(attributes: List(Attribute(a)), children: List(
@@ -1292,6 +1450,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L424-L424">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn iframe(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1306,6 +1467,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L396-L396">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn img(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1320,6 +1484,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L568-L568">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn input(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1334,6 +1501,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L487-L487">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn ins(attributes: List(Attribute(a)), children: List(
@@ -1350,6 +1520,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L303-L303">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn kbd(attributes: List(Attribute(a)), children: List(
@@ -1366,6 +1539,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L573-L573">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn label(attributes: List(Attribute(a)), children: List(
@@ -1382,6 +1558,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L578-L578">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn legend(attributes: List(Attribute(a)), children: List(
@@ -1398,6 +1577,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L215-L215">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn li(attributes: List(Attribute(a)), children: List(
@@ -1414,6 +1596,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L157-L157">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn main(attributes: List(Attribute(a)), children: List(
@@ -1430,6 +1615,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L48-L49">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub external fn map(
@@ -1448,6 +1636,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L401-L401">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn map_(attributes: List(Attribute(a)), children: List(
@@ -1464,6 +1655,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L308-L308">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn mark(attributes: List(Attribute(a)), children: List(
@@ -1480,6 +1674,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L462-L462">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn mathml(attributes: List(Attribute(a)), children: List(
@@ -1496,6 +1693,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L220-L220">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn menu(attributes: List(Attribute(a)), children: List(
@@ -1512,6 +1712,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L77-L77">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn meta(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1526,6 +1729,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L583-L583">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn meter(attributes: List(Attribute(a)), children: List(
@@ -1542,6 +1748,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L162-L162">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn nav(attributes: List(Attribute(a)), children: List(
@@ -1558,6 +1767,9 @@ as if it were a single one. </p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L18-L19">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub external fn node(
@@ -1579,6 +1791,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L474-L474">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn noscript(attributes: List(Attribute(a)), children: List(
@@ -1595,6 +1810,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L429-L429">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn object(attributes: List(Attribute(a)), children: List(
@@ -1611,6 +1829,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L225-L225">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn ol(attributes: List(Attribute(a)), children: List(
@@ -1627,6 +1848,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L588-L588">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn optgroup(attributes: List(Attribute(a)), children: List(
@@ -1643,6 +1867,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L593-L593">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn option(attributes: List(Attribute(a)), children: List(
@@ -1659,6 +1886,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L598-L598">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn output(attributes: List(Attribute(a)), children: List(
@@ -1675,6 +1905,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L230-L230">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn p(attributes: List(Attribute(a)), children: List(
@@ -1691,6 +1924,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L434-L434">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn param(attributes: List(Attribute(a)), children: List(
@@ -1707,6 +1943,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L439-L439">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn picture(attributes: List(Attribute(a)), children: List(
@@ -1723,6 +1962,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L444-L444">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn portal(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1737,6 +1979,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L235-L235">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn pre(attributes: List(Attribute(a)), children: List(
@@ -1753,6 +1998,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L603-L603">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn progress(attributes: List(Attribute(a)), children: List(
@@ -1769,6 +2017,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L313-L313">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn rp(attributes: List(Attribute(a)), children: List(
@@ -1785,6 +2036,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L318-L318">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn rt(attributes: List(Attribute(a)), children: List(
@@ -1801,6 +2055,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L323-L323">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn ruby(attributes: List(Attribute(a)), children: List(
@@ -1817,6 +2074,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L328-L328">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn s(attributes: List(Attribute(a)), children: List(
@@ -1833,6 +2093,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L333-L333">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn samp(attributes: List(Attribute(a)), children: List(
@@ -1849,6 +2112,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L167-L167">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn section(attributes: List(Attribute(a)), children: List(
@@ -1865,6 +2131,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L608-L608">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn select(attributes: List(Attribute(a)), children: List(
@@ -1881,6 +2150,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L639-L639">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn slot(attributes: List(Attribute(a)), children: List(
@@ -1897,6 +2169,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L338-L338">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn small(attributes: List(Attribute(a)), children: List(
@@ -1913,6 +2188,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L449-L449">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn source(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -1927,6 +2205,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L343-L343">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn span(attributes: List(Attribute(a)), children: List(
@@ -1943,6 +2224,9 @@ child elements.</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L29-L30">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub external fn stateful(
@@ -1966,6 +2250,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L348-L348">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn strong(attributes: List(Attribute(a)), children: List(
@@ -1982,6 +2269,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L82-L82">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn style(attributes: List(Attribute(a)), css: String) -&gt; Element(
@@ -1998,6 +2288,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L353-L353">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn sub(attributes: List(Attribute(a)), children: List(
@@ -2014,6 +2307,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L631-L631">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn summary(attributes: List(Attribute(a)), children: List(
@@ -2030,6 +2326,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L358-L358">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn sup(attributes: List(Attribute(a)), children: List(
@@ -2046,6 +2345,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L457-L457">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn svg(attributes: List(Attribute(a)), children: List(
@@ -2062,6 +2364,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L510-L510">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn table(attributes: List(Attribute(a)), children: List(
@@ -2078,6 +2383,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L515-L515">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn tbody(attributes: List(Attribute(a)), children: List(
@@ -2094,6 +2402,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L520-L520">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn td(attributes: List(Attribute(a)), children: List(
@@ -2110,6 +2421,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L644-L644">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn template(attributes: List(Attribute(a)), children: List(
@@ -2126,6 +2440,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L40-L41">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub external fn text(content: String) -&gt; Element(action)</code></pre>
@@ -2141,6 +2458,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L613-L613">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn textarea(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
@@ -2155,6 +2475,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L525-L525">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn tfoot(attributes: List(Attribute(a)), children: List(
@@ -2171,6 +2494,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L530-L530">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn th(attributes: List(Attribute(a)), children: List(
@@ -2187,6 +2513,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L535-L535">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn thead(attributes: List(Attribute(a)), children: List(
@@ -2203,6 +2532,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L363-L363">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn time(attributes: List(Attribute(a)), children: List(
@@ -2219,6 +2551,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L87-L87">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn title(attributes: List(Attribute(a)), name: String) -&gt; Element(
@@ -2235,6 +2570,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L540-L540">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn tr(attributes: List(Attribute(a)), children: List(
@@ -2251,6 +2589,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L406-L406">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn track(attributes: List(Attribute(a)), children: List(
@@ -2267,6 +2608,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L368-L368">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn u(attributes: List(Attribute(a)), children: List(
@@ -2283,6 +2627,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L240-L240">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn ul(attributes: List(Attribute(a)), children: List(
@@ -2299,6 +2646,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L373-L373">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn var_(attributes: List(Attribute(a)), children: List(
@@ -2315,6 +2665,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L411-L411">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn video(attributes: List(Attribute(a)), children: List(
@@ -2331,6 +2684,9 @@ Those are just regular Gleam functions that return <code>Element</code>s!</p>
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/element.gleam#L378-L378">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn wbr(attributes: List(Attribute(a))) -&gt; Element(a)</code></pre>
diff --git a/docs/lustre/event.html b/docs/lustre/event.html
index 109f30b..66ba645 100644
--- a/docs/lustre/event.html
+++ b/docs/lustre/event.html
@@ -140,13 +140,13 @@
<h2>
<a href="../">lustre</a>
<span id="project-version">
- <span> - v0.1.0 </span>
+ <span> - v1.0.0 </span>
</span>
<script>
"use strict";
if ("undefined" !== typeof versionNodes) {
- const currentVersion = "v0.1.0";
+ const currentVersion = "v1.0.0";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
@@ -192,6 +192,14 @@
+ <h2>Links</h2>
+ <ul>
+
+ <li><a href="https://hayleigh-dot-dev.github.io/gleam-lustre">Website</a></li>
+
+ <li><a href="https://github.com/hayleigh-dot-dev/gleam-lustre">Repository</a></li>
+
+ </ul>
<h2>Modules</h2>
@@ -288,6 +296,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L16-L16">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn dispatch(action: a) -&gt; fn(fn(a) -&gt; Nil) -&gt; Nil</code></pre>
@@ -302,6 +313,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L11-L11">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on(name: String, handler: fn(Dynamic, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -318,6 +332,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L114-L114">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_blur(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(a)</code></pre>
@@ -332,6 +349,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L96-L96">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_check(handler: fn(Bool, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -348,6 +368,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L25-L25">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_click(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(a)</code></pre>
@@ -362,6 +385,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L110-L110">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_focus(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(a)</code></pre>
@@ -376,6 +402,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L88-L88">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_input(handler: fn(String, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -392,6 +421,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L69-L69">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_keydown(handler: fn(String, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -408,6 +440,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L61-L61">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_keypress(handler: fn(String, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -424,6 +459,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L77-L77">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_keyup(handler: fn(String, fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -440,6 +478,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L30-L30">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_down(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -456,6 +497,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L40-L40">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_enter(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -472,6 +516,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L45-L45">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_leave(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -488,6 +535,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L55-L55">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_out(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -504,6 +554,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L50-L50">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_over(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -520,6 +573,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L35-L35">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_mouse_up(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(
@@ -536,6 +592,9 @@
</a>
</h2>
+ <a class="member-source" alt="View Source" title="View Source" href="https://github.com/hayleigh-dot-dev/gleam-lustre/blob/v1.0.0/src/lustre/event.gleam#L104-L104">
+ &lt;/&gt;
+ </a>
</div>
<pre><code class="hljs gleam">pub fn on_submit(handler: fn(fn(a) -&gt; Nil) -&gt; Nil) -&gt; Attribute(a)</code></pre>