No examples of DOM manipulation using Browser.DOM
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- fsharp
- Domain
- documentation, web-dev
Research direction
Start by reading the basic canvas sample and the advanced example using unbox, then inspect how Browser.DOM is used. Update a sample to demonstrate creating a canvas or other DOM objects, with additional examples such as nodelists if appropriate; the samples should build and clearly show the intended DOM manipulation.
Written by the indexing model from the issue text.
Description
It's not intuitive how I should create a DOM element of a certain type using Fable. I'd like to see an example of this in the samples.
Updating an existing sample to demonstrate this would be nice. The basic canvas example could be modified to create the canvas before using it, as one possible solution to this issue.
Edit: it looks like the "advanced" example uses unbox. Further examples of creating things like nodelists and such would be welcome.
- Dominant language
- F#
- Stars
- 46
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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 fable-compiler/fable3-samples
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
fable-compiler/fable3-samples#10 · 10 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fable-compiler/fable3-samples#2 · 13 comments ·
All issues in fable-compiler/fable3-samples
Similar issues
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
supabase/agent-skills#611 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
isocpp/CppCoreGuidelines#2338 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
polka-codes/test#345 ·
Maintainers usually reply within 1 day