Skip to content

jQuery.widget: type of element parameter of _on() should be Selector, not jQuery #202

@usmonster

Description

@usmonster

According to the jQuery docs:

If Selector is specified as the type of an argument, it accepts everything that the jQuery constructor accepts, eg. Strings, Elements, Lists of Elements.

And according to the code, that looks like exactly what the element argument should be documented as. (Note that a jQuery is also a Selector.)

Should I put in a pull request?

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