Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

initSelector / all widgets #6927

Closed
Closed
@Palestinian

Description

@Palestinian

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";

JSFiddle

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions