_hyperscript icon indicating copy to clipboard operation
_hyperscript copied to clipboard

a small scripting language for the web

Results 219 _hyperscript issues
Sort by recently updated
recently updated
newest added

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 : ![image](https://user-images.githubusercontent.com/3540195/169342222-bc8f8a95-1e38-4530-95bb-aaed448f1ff1.png) 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...

bug

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.