0.0.3 • Published 6 years ago

@polymer/iron-signals v0.0.3

Weekly downloads
25
License
BSD-3-Clause
Repository
github
Last release
6 years ago

Build Status

Demo and API Docs

##<iron-signals>

iron-signals provides basic publish-subscribe functionality.

Note: avoid using iron-signals whenever you can use a controller (parent element) to mediate communication instead.

To send a signal, fire a custom event of type iron-signal, with a detail object containing name and data fields.

this.fire('iron-signal', {name: 'hello', data: null});

To receive a signal, listen for iron-signal-<name> event on a iron-signals element.

You can fire a signal event from anywhere, and all iron-signals elements will receive the event, regardless of where they are in DOM.

3.0.0-pre.6

6 years ago

3.0.0-pre.4

6 years ago

3.0.0-pre.3

6 years ago

3.0.0-pre.2

6 years ago

1.0.3-pre.3

7 years ago

1.0.3-pre.2

7 years ago

1.0.3-pre.1

7 years ago

0.0.4

7 years ago

0.0.3

8 years ago

0.0.1

8 years ago