Skip to content

Specify how to detach dblclick() event handler #717

@jhfrench

Description

@jhfrench

The documentation at https://api.jquery.com/dblclick/ describes how to attach the dblclick() method.

Unlike other event listener bindings, like on(), bind(), delegate(), and live() the dblclick() documentation does not specify the best way to remove the binding (ie, "To remove events bound with .on(), see .off().").

I assume, based on the "This method is a shortcut for .on( "dblclick", handler)..." note, that the correct way to detach the dblclick() event listener is to use off("dblclick").

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions