routing: bool
debug: bool
attibute | value | example |
---|---|---|
ll-text |
expr |
<span ll-text="user.name"> |
ll-class |
class:expr |
<div ll-class="bg-warning:isError"> |
ll-attr |
attribute=expr |
<html ll-attr="data-theme=themeDark?'dark':'light'"> |
ll-show |
expr |
<div ll-show="showWarning"> |
ll-for |
expr |
<div ll-for="user.friends.map(f => f.name)"> |
ll-for-here |
<div ll-for-here> |
|
ll-bind |
var |
<input type="text" ll-bind="textInput"> |
ll-@click |
expr |
<button ll-@click="alert('clicked!')"> |
ll-@enter |
expr |
<input type="text" ll-@enter="search()"> |
ll-route |
/route |
<div ll-route="/about"> |
ll-goto |
/route |
<a ll-goto="/about"> |
ll._.randArray(array, n = 1)
sample from arrayll._.randInt(min, max)
inclusivell._.randFloat(min, max)
max exclusive