Skip to content

initSelector / all widgets #223

@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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions