You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
700 B

(function(_ds){var window=this;'use strict';var yy=function(){var a=_ds.R.call(this)||this;a.h=new _ds.Qj;return a},zy=function(){return"devsite-a11y-announce"};_ds.t(yy,_ds.R);yy.prototype.connectedCallback=function(){var a=this;this.setAttribute("aria-live","assertive");this.setAttribute("aria-atomic","true");this.h.listen(document.body,"devsite-a11y-announce",function(b){b=b.Z;(b=b.detail&&b.detail.message)&&_ds.nh(a,b)})};yy.prototype.disconnectedCallback=function(){_ds.Wj(this.h)};yy.prototype.connectedCallback=yy.prototype.connectedCallback;
yy.getTagName=zy;try{window.customElements.define(zy(),yy)}catch(a){console.warn("devsite.app.customElement.DevsiteA11yAnnounce",a)};})(_ds_www);