Dynamically modifying the range limits of a metaParameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, computer-graphics
Research direction
Start with the imetaparameter API documentation for the max range limit and run the linked Maker.js playground example and gist. Determine how a limit derived from another value should behave; the work is done when the nut example can keep its hole size below the outer hexagon and the supported behavior is documented.
Written by the indexing model from the issue text.
Description
Its currently possible to initialize the max limit of a range metaParameter with a number:
But, would it be possible to dynamically modify the max based on another value by maybe passing in a function instead?
eg.
- https://maker.js.org/playground/?script=https://gist.githubusercontent.com/yertto/bf3fde0e78ea3b9b36000d7a55b14677/raw/c9914d84374ceb95f19083b02c31d5ac94d628fa/nut.js
- https://gist.github.com/yertto/bf3fde0e78ea3b9b36000d7a55b14677
This is a made up example of a nut (🔩), where the aim is to limit the maximum hole size to always be smaller than the outer hexagon.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 302
- Avg merge
- 21h 28m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/maker.js
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
All issues in microsoft/maker.js
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·