Skip to content

Need Polymer.Base.unlisten to remove the event listener #1639

Description

@frankiefu

Currently we have Polymer.Base.listen to add an event listener e.g. tap. But we also need Polymer.Base.unlisten to remove the event listener.

Activity

  1. frankiefu commented on May 28, 2015

    @frankiefu
    MemberAuthor

    This is needed for cases like in iron-selector which wants to default activateEvent to tap (https://github.com/PolymerElements/iron-selector/blob/master/iron-selectable.html#L64). But user of iron-selector may choose to have activateEvent set to something else like down, up or ''. We need a way to remove the default tap event.

  2. added 2 commits that reference this issue on Jun 4, 2015
    8407992
    4616576
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions