Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Need docs for eventDelegates block #546

Closed
ebidel opened this issue Jul 22, 2014 · 2 comments
Closed

Need docs for eventDelegates block #546

ebidel opened this issue Jul 22, 2014 · 2 comments
Assignees

Comments

@ebidel
Copy link
Contributor

ebidel commented Jul 22, 2014

Adds event listeners to the host element. Keys are event names to listen for. Values are the callback:

eventDelegates: {
  up: 'onTap',
  down: 'onTap'
},
onTap: function(e, detail, sender) {
  ...
}

@sjmiles, is this the imperative equivalent of adding on-* to polymer-element?...similar to the publish and the attributes attribute?

@sjmiles
Copy link

sjmiles commented Jul 22, 2014

Yes, exactly that.

@ebidel ebidel changed the title Needs docs for eventDelegates block Need docs for eventDelegates block Jul 22, 2014
@arthurevans arthurevans removed their assignment Oct 1, 2014
@arthurevans
Copy link

This has been open way too long, I know.

I suggested it to @marycampione as a good starter bug to get used to working with our repo.

@ebidel ebidel added the P0 label Oct 9, 2014
arthurevans pushed a commit that referenced this issue Oct 23, 2014
Fix for bug #546, added docs for event listeners on the host element.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants