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
1.0 KiB

(function(_ds){var window=this;'use strict';var vQ=function(){return _ds.R.apply(this,arguments)||this},wQ=function(a){_ds.Xg(a);switch(a.getAttribute("type")){case "indeterminate":var b=a.getAttribute("color"),c=document.createElement("div");c.classList.add("devsite-progress--indeterminate");for(var d=1;4>=d;d++){var e=document.createElement("div");e.classList.add("devsite-progress--indeterminate-"+d);!b||1!=d&&3!=d||(e.style.backgroundColor=b);c.appendChild(e)}a.appendChild(c)}};_ds.t(vQ,_ds.R);
vQ.prototype.connectedCallback=function(){wQ(this)};vQ.prototype.attributeChangedCallback=function(a,b,c){b!==c&&wQ(this)};_ds.fa.Object.defineProperties(vQ,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["color","type"]}}});vQ.prototype.attributeChangedCallback=vQ.prototype.attributeChangedCallback;vQ.prototype.connectedCallback=vQ.prototype.connectedCallback;try{window.customElements.define("devsite-progress",vQ)}catch(a){console.warn("devsite.app.customElement.DevsiteProgress",a)};})(_ds_www);