Flat mapping on pseudo commands

Open
#469 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Review the pseudo-command usage in the issue alongside the existing repeat-in example. Trace how pseudo-commands resolve their targets and determine the expected behavior for applying click() to every matching input. Add coverage for the shown button and checkbox markup, with completion defined by all matching inputs being clicked.

Written by the indexing model from the issue text.

Description

enhancement

Is this usage of pseudo-commands implemented? If not it will be great to have it.

<button _="on click click() to <input/>">Select All</button>
<input type="checkbox" name="test" />
<input type="checkbox" name="test" />
<input type="checkbox" name="test" /> 
<input type="checkbox" name="test" />

Right now I'm doing this to perform the same action:

repeat in <input/>
    it.click()
end

Thanks!

Dominant language
JavaScript
Stars
3.8k
Forks
171
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bigskysoftware/_hyperscript

All issues in bigskysoftware/_hyperscript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.