jquery / jquery/api.jquerymobile.com
initSelector / all widgets
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 55
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
jQM 1.4 API documentation should be fixed as the below doesn't work to set a new initSelector for any widget. On 1.4, initSelector is deprecated from options, however, the code in API doesn't work.
$.mobile.widget-name.prototype.initSelector = ".selector";
The below works by removing .prototype.
$.mobile.widget-name.initSelector = ".selector";
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.
Research direction
Find the jQM 1.4 API documentation entry for initSelector and compare its current example with the working syntax shown in the issue and JSFiddle. Update the documentation so the example uses the working form, then verify that the rendered API guidance no longer recommends the broken form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jquery
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100