_hyperscript
_hyperscript copied to clipboard
a small scripting language for the web
Greetings, I'm having trouble scrolling to an element which matches an attribute value. This is what I have: ``` on bookUpdated scrollIntoView({block: 'center'}) the [@data-id='{{ b.id }}'] then send click...
The documentation says "You can chain if/else commands together in the usual manner." I understand "the usual manner" is to either allow "if ... else if ... else if ......
The documentation says "Comparisons can be combined via the and, or and not expressions in the usual manner". I thought the usual manner was to not evaluate the right-hand side...
Well, I tried to evaluate the "async transparency" of \_hyperscript within event handlers...and failed. To my current knowledge of JS, it is principally impossible to implement it anyway: * JS...
`on click transition closest .card's opacity to 0 over 50ms then remove closest .card` gives the following error :  ref : ``` function parsePseudopossessiveTarget(parser, runtime, tokens) { var targets;...
The examples of first,last and random are erroneous. They should be log the first of myArr log the last of myArr log random in myArr
The following code ``` li > span { display:none } def showElement (Element) set *display of Element to 'inline-block' end init show #span_with_id show .css-class show log 'completed' end If...
The following code ``` ``` shows that `element ElementVariable` and `:ElementVariable` refer to different variables A live example can be found [here](https://svelte.dev/repl/9680660ba5e9445cbae880483f983e85)
I know that we may separate statements by means of `then` (not only) if they are on the same line. But not always there is this logical consequence which is...
```html A B ``` Fired only once and then It can't fire.