How to use the @polymer/iron-a11y-announcer/iron-a11y-announcer.js.IronA11yAnnouncer.instance function in @polymer/iron-a11y-announcer

To help you get started, we’ve selected a few @polymer/iron-a11y-announcer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MyScript / myscript-math-web / docs / components / iron-a11y-announcer / iron-a11y-announcer.js View on Github external
created: function() {
    if (!IronA11yAnnouncer$0.instance) {
      IronA11yAnnouncer$0.instance = this;
    }

    document.body.addEventListener('iron-announce', this._onIronAnnounce.bind(this));
  },
github MyScript / myscript-math-web / docs / components / iron-a11y-announcer / iron-a11y-announcer.js View on Github external
created: function() {
    if (!IronA11yAnnouncer$0.instance) {
      IronA11yAnnouncer$0.instance = this;
    }

    document.body.addEventListener('iron-announce', this._onIronAnnounce.bind(this));
  },

@polymer/iron-a11y-announcer

A singleton element that simplifies announcing text to screen readers.

BSD-3-Clause
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis