diff --git a/docs/api/assets/js/search.js b/docs/api/assets/js/search.js index 5302bd0f..c8d3f77f 100644 --- a/docs/api/assets/js/search.js +++ b/docs/api/assets/js/search.js @@ -1,3 +1,3 @@ -var typedoc = typedoc || {}; +var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","2097152":"Object literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"lib/updating-element\"","url":"modules/_lib_updating_element_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"ComplexAttributeConverter","url":"interfaces/_lib_updating_element_.complexattributeconverter.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"lib/updating-element\""},{"id":2,"kind":2048,"name":"fromAttribute","url":"interfaces/_lib_updating_element_.complexattributeconverter.html#fromattribute","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".ComplexAttributeConverter"},{"id":3,"kind":2048,"name":"toAttribute","url":"interfaces/_lib_updating_element_.complexattributeconverter.html#toattribute","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".ComplexAttributeConverter"},{"id":4,"kind":256,"name":"PropertyDeclaration","url":"interfaces/_lib_updating_element_.propertydeclaration.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"lib/updating-element\""},{"id":5,"kind":1024,"name":"attribute","url":"interfaces/_lib_updating_element_.propertydeclaration.html#attribute","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":6,"kind":1024,"name":"type","url":"interfaces/_lib_updating_element_.propertydeclaration.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":7,"kind":1024,"name":"converter","url":"interfaces/_lib_updating_element_.propertydeclaration.html#converter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":8,"kind":1024,"name":"reflect","url":"interfaces/_lib_updating_element_.propertydeclaration.html#reflect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":9,"kind":2048,"name":"hasChanged","url":"interfaces/_lib_updating_element_.propertydeclaration.html#haschanged","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":10,"kind":1024,"name":"noAccessor","url":"interfaces/_lib_updating_element_.propertydeclaration.html#noaccessor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":11,"kind":256,"name":"PropertyDeclarations","url":"interfaces/_lib_updating_element_.propertydeclarations.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":12,"kind":256,"name":"HasChanged","url":"interfaces/_lib_updating_element_.haschanged.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":13,"kind":128,"name":"UpdatingElement","url":"classes/_lib_updating_element_.updatingelement.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":14,"kind":1024,"name":"finalized","url":"classes/_lib_updating_element_.updatingelement.html#finalized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":15,"kind":1024,"name":"properties","url":"classes/_lib_updating_element_.updatingelement.html#properties","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":16,"kind":262144,"name":"observedAttributes","url":"classes/_lib_updating_element_.updatingelement.html#observedattributes","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":17,"kind":2048,"name":"createProperty","url":"classes/_lib_updating_element_.updatingelement.html#createproperty","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":18,"kind":2048,"name":"finalize","url":"classes/_lib_updating_element_.updatingelement.html#finalize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":19,"kind":512,"name":"constructor","url":"classes/_lib_updating_element_.updatingelement.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":20,"kind":2048,"name":"initialize","url":"classes/_lib_updating_element_.updatingelement.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":21,"kind":2048,"name":"connectedCallback","url":"classes/_lib_updating_element_.updatingelement.html#connectedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":22,"kind":2048,"name":"disconnectedCallback","url":"classes/_lib_updating_element_.updatingelement.html#disconnectedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":23,"kind":2048,"name":"attributeChangedCallback","url":"classes/_lib_updating_element_.updatingelement.html#attributechangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":24,"kind":2048,"name":"requestUpdate","url":"classes/_lib_updating_element_.updatingelement.html#requestupdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":25,"kind":262144,"name":"hasUpdated","url":"classes/_lib_updating_element_.updatingelement.html#hasupdated","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":26,"kind":2048,"name":"performUpdate","url":"classes/_lib_updating_element_.updatingelement.html#performupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":27,"kind":262144,"name":"updateComplete","url":"classes/_lib_updating_element_.updatingelement.html#updatecomplete","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":28,"kind":2048,"name":"shouldUpdate","url":"classes/_lib_updating_element_.updatingelement.html#shouldupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":29,"kind":2048,"name":"update","url":"classes/_lib_updating_element_.updatingelement.html#update","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":30,"kind":2048,"name":"updated","url":"classes/_lib_updating_element_.updatingelement.html#updated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":31,"kind":2048,"name":"firstUpdated","url":"classes/_lib_updating_element_.updatingelement.html#firstupdated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":32,"kind":4194304,"name":"PropertyValues","url":"modules/_lib_updating_element_.html#propertyvalues","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":33,"kind":2097152,"name":"defaultConverter","url":"modules/_lib_updating_element_.html#defaultconverter","classes":"tsd-kind-object-literal tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":34,"kind":64,"name":"toAttribute","url":"modules/_lib_updating_element_.html#defaultconverter.toattribute","classes":"tsd-kind-function tsd-parent-kind-object-literal","parent":"\"lib/updating-element\".defaultConverter"},{"id":35,"kind":64,"name":"fromAttribute","url":"modules/_lib_updating_element_.html#defaultconverter.fromattribute","classes":"tsd-kind-function tsd-parent-kind-object-literal","parent":"\"lib/updating-element\".defaultConverter"},{"id":36,"kind":64,"name":"notEqual","url":"modules/_lib_updating_element_.html#notequal","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":37,"kind":1,"name":"\"lib/decorators\"","url":"modules/_lib_decorators_.html","classes":"tsd-kind-external-module"},{"id":38,"kind":4194304,"name":"Constructor","url":"modules/_lib_decorators_.html#constructor","classes":"tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"lib/decorators\""},{"id":39,"kind":65536,"name":"__type","url":"modules/_lib_decorators_.html#constructor.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"lib/decorators\".Constructor"},{"id":40,"kind":64,"name":"customElement","url":"modules/_lib_decorators_.html#customelement","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":41,"kind":64,"name":"property","url":"modules/_lib_decorators_.html#property","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":42,"kind":32,"name":"query","url":"modules/_lib_decorators_.html#query","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":43,"kind":32,"name":"queryAll","url":"modules/_lib_decorators_.html#queryall","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":44,"kind":64,"name":"eventOptions","url":"modules/_lib_decorators_.html#eventoptions","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":45,"kind":1,"name":"\"lib/css-tag\"","url":"modules/_lib_css_tag_.html","classes":"tsd-kind-external-module"},{"id":46,"kind":128,"name":"CSSResult","url":"classes/_lib_css_tag_.cssresult.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":47,"kind":1024,"name":"_styleSheet","url":"classes/_lib_css_tag_.cssresult.html#_stylesheet","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":48,"kind":1024,"name":"cssText","url":"classes/_lib_css_tag_.cssresult.html#csstext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":49,"kind":512,"name":"constructor","url":"classes/_lib_css_tag_.cssresult.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":50,"kind":262144,"name":"styleSheet","url":"classes/_lib_css_tag_.cssresult.html#stylesheet","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":51,"kind":2048,"name":"toString","url":"classes/_lib_css_tag_.cssresult.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":52,"kind":32,"name":"supportsAdoptingStyleSheets","url":"modules/_lib_css_tag_.html#supportsadoptingstylesheets","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":53,"kind":64,"name":"unsafeCSS","url":"modules/_lib_css_tag_.html#unsafecss","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":54,"kind":64,"name":"css","url":"modules/_lib_css_tag_.html#css","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":55,"kind":1,"name":"\"demo/ts-element\"","url":"modules/_demo_ts_element_.html","classes":"tsd-kind-external-module"},{"id":56,"kind":1,"name":"\"test/test-helpers\"","url":"modules/_test_test_helpers_.html","classes":"tsd-kind-external-module"},{"id":57,"kind":64,"name":"stripExpressionDelimeters","url":"modules/_test_test_helpers_.html#stripexpressiondelimeters","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"test/test-helpers\""},{"id":58,"kind":64,"name":"generateElementName","url":"modules/_test_test_helpers_.html#generateelementname","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"test/test-helpers\""},{"id":59,"kind":64,"name":"nextFrame","url":"modules/_test_test_helpers_.html#nextframe","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"test/test-helpers\""},{"id":60,"kind":64,"name":"getComputedStyleValue","url":"modules/_test_test_helpers_.html#getcomputedstylevalue","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"test/test-helpers\""},{"id":61,"kind":1,"name":"\"test/lit-element_styling_test\"","url":"modules/_test_lit_element_styling_test_.html","classes":"tsd-kind-external-module"},{"id":62,"kind":1,"name":"\"test/lit-element_test\"","url":"modules/_test_lit_element_test_.html","classes":"tsd-kind-external-module"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","2097152":"Object literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"lib/updating-element\"","url":"modules/_lib_updating_element_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"ComplexAttributeConverter","url":"interfaces/_lib_updating_element_.complexattributeconverter.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"lib/updating-element\""},{"id":2,"kind":2048,"name":"fromAttribute","url":"interfaces/_lib_updating_element_.complexattributeconverter.html#fromattribute","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".ComplexAttributeConverter"},{"id":3,"kind":2048,"name":"toAttribute","url":"interfaces/_lib_updating_element_.complexattributeconverter.html#toattribute","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".ComplexAttributeConverter"},{"id":4,"kind":256,"name":"PropertyDeclaration","url":"interfaces/_lib_updating_element_.propertydeclaration.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"lib/updating-element\""},{"id":5,"kind":1024,"name":"attribute","url":"interfaces/_lib_updating_element_.propertydeclaration.html#attribute","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":6,"kind":1024,"name":"type","url":"interfaces/_lib_updating_element_.propertydeclaration.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":7,"kind":1024,"name":"converter","url":"interfaces/_lib_updating_element_.propertydeclaration.html#converter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":8,"kind":1024,"name":"reflect","url":"interfaces/_lib_updating_element_.propertydeclaration.html#reflect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":9,"kind":2048,"name":"hasChanged","url":"interfaces/_lib_updating_element_.propertydeclaration.html#haschanged","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":10,"kind":1024,"name":"noAccessor","url":"interfaces/_lib_updating_element_.propertydeclaration.html#noaccessor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lib/updating-element\".PropertyDeclaration"},{"id":11,"kind":256,"name":"PropertyDeclarations","url":"interfaces/_lib_updating_element_.propertydeclarations.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":12,"kind":256,"name":"HasChanged","url":"interfaces/_lib_updating_element_.haschanged.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":13,"kind":128,"name":"UpdatingElement","url":"classes/_lib_updating_element_.updatingelement.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":14,"kind":1024,"name":"finalized","url":"classes/_lib_updating_element_.updatingelement.html#finalized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":15,"kind":1024,"name":"properties","url":"classes/_lib_updating_element_.updatingelement.html#properties","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":16,"kind":262144,"name":"observedAttributes","url":"classes/_lib_updating_element_.updatingelement.html#observedattributes","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":17,"kind":2048,"name":"createProperty","url":"classes/_lib_updating_element_.updatingelement.html#createproperty","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":18,"kind":2048,"name":"finalize","url":"classes/_lib_updating_element_.updatingelement.html#finalize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-static","parent":"\"lib/updating-element\".UpdatingElement"},{"id":19,"kind":512,"name":"constructor","url":"classes/_lib_updating_element_.updatingelement.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":20,"kind":2048,"name":"initialize","url":"classes/_lib_updating_element_.updatingelement.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":21,"kind":2048,"name":"connectedCallback","url":"classes/_lib_updating_element_.updatingelement.html#connectedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":22,"kind":2048,"name":"disconnectedCallback","url":"classes/_lib_updating_element_.updatingelement.html#disconnectedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":23,"kind":2048,"name":"attributeChangedCallback","url":"classes/_lib_updating_element_.updatingelement.html#attributechangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":24,"kind":2048,"name":"requestUpdate","url":"classes/_lib_updating_element_.updatingelement.html#requestupdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":25,"kind":262144,"name":"hasUpdated","url":"classes/_lib_updating_element_.updatingelement.html#hasupdated","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":26,"kind":2048,"name":"performUpdate","url":"classes/_lib_updating_element_.updatingelement.html#performupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":27,"kind":262144,"name":"updateComplete","url":"classes/_lib_updating_element_.updatingelement.html#updatecomplete","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"\"lib/updating-element\".UpdatingElement"},{"id":28,"kind":2048,"name":"shouldUpdate","url":"classes/_lib_updating_element_.updatingelement.html#shouldupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":29,"kind":2048,"name":"update","url":"classes/_lib_updating_element_.updatingelement.html#update","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":30,"kind":2048,"name":"updated","url":"classes/_lib_updating_element_.updatingelement.html#updated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":31,"kind":2048,"name":"firstUpdated","url":"classes/_lib_updating_element_.updatingelement.html#firstupdated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lib/updating-element\".UpdatingElement"},{"id":32,"kind":4194304,"name":"PropertyValues","url":"modules/_lib_updating_element_.html#propertyvalues","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":33,"kind":2097152,"name":"defaultConverter","url":"modules/_lib_updating_element_.html#defaultconverter","classes":"tsd-kind-object-literal tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":34,"kind":64,"name":"toAttribute","url":"modules/_lib_updating_element_.html#defaultconverter.toattribute","classes":"tsd-kind-function tsd-parent-kind-object-literal","parent":"\"lib/updating-element\".defaultConverter"},{"id":35,"kind":64,"name":"fromAttribute","url":"modules/_lib_updating_element_.html#defaultconverter.fromattribute","classes":"tsd-kind-function tsd-parent-kind-object-literal","parent":"\"lib/updating-element\".defaultConverter"},{"id":36,"kind":64,"name":"notEqual","url":"modules/_lib_updating_element_.html#notequal","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"id":37,"kind":1,"name":"\"lib/decorators\"","url":"modules/_lib_decorators_.html","classes":"tsd-kind-external-module"},{"id":38,"kind":4194304,"name":"Constructor","url":"modules/_lib_decorators_.html#constructor","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":39,"kind":65536,"name":"__type","url":"modules/_lib_decorators_.html#constructor.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"lib/decorators\".Constructor"},{"id":40,"kind":64,"name":"customElement","url":"modules/_lib_decorators_.html#customelement","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":41,"kind":64,"name":"property","url":"modules/_lib_decorators_.html#property","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":42,"kind":64,"name":"query","url":"modules/_lib_decorators_.html#query","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":43,"kind":64,"name":"queryAll","url":"modules/_lib_decorators_.html#queryall","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":44,"kind":64,"name":"eventOptions","url":"modules/_lib_decorators_.html#eventoptions","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":45,"kind":1,"name":"\"lib/css-tag\"","url":"modules/_lib_css_tag_.html","classes":"tsd-kind-external-module"},{"id":46,"kind":128,"name":"CSSResult","url":"classes/_lib_css_tag_.cssresult.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":47,"kind":1024,"name":"_styleSheet","url":"classes/_lib_css_tag_.cssresult.html#_stylesheet","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":48,"kind":1024,"name":"cssText","url":"classes/_lib_css_tag_.cssresult.html#csstext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":49,"kind":512,"name":"constructor","url":"classes/_lib_css_tag_.cssresult.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":50,"kind":262144,"name":"styleSheet","url":"classes/_lib_css_tag_.cssresult.html#stylesheet","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":51,"kind":2048,"name":"toString","url":"classes/_lib_css_tag_.cssresult.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"lib/css-tag\".CSSResult"},{"id":52,"kind":32,"name":"supportsAdoptingStyleSheets","url":"modules/_lib_css_tag_.html#supportsadoptingstylesheets","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":53,"kind":64,"name":"unsafeCSS","url":"modules/_lib_css_tag_.html#unsafecss","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":54,"kind":64,"name":"css","url":"modules/_lib_css_tag_.html#css","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":55,"kind":1,"name":"\"lit-element\"","url":"modules/_lit_element_.html","classes":"tsd-kind-external-module"},{"id":56,"kind":256,"name":"CSSResultArray","url":"interfaces/_lit_element_.cssresultarray.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lit-element\""},{"id":57,"kind":2048,"name":"includes","url":"interfaces/_lit_element_.cssresultarray.html#includes","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":58,"kind":1024,"name":"length","url":"interfaces/_lit_element_.cssresultarray.html#length","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":59,"kind":2048,"name":"toString","url":"interfaces/_lit_element_.cssresultarray.html#tostring","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":60,"kind":2048,"name":"toLocaleString","url":"interfaces/_lit_element_.cssresultarray.html#tolocalestring","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":61,"kind":2048,"name":"push","url":"interfaces/_lit_element_.cssresultarray.html#push","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":62,"kind":2048,"name":"pop","url":"interfaces/_lit_element_.cssresultarray.html#pop","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":63,"kind":2048,"name":"concat","url":"interfaces/_lit_element_.cssresultarray.html#concat","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":64,"kind":2048,"name":"join","url":"interfaces/_lit_element_.cssresultarray.html#join","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":65,"kind":2048,"name":"reverse","url":"interfaces/_lit_element_.cssresultarray.html#reverse","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":66,"kind":2048,"name":"shift","url":"interfaces/_lit_element_.cssresultarray.html#shift","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":67,"kind":2048,"name":"slice","url":"interfaces/_lit_element_.cssresultarray.html#slice","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":68,"kind":2048,"name":"sort","url":"interfaces/_lit_element_.cssresultarray.html#sort","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":69,"kind":2048,"name":"splice","url":"interfaces/_lit_element_.cssresultarray.html#splice","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":70,"kind":2048,"name":"unshift","url":"interfaces/_lit_element_.cssresultarray.html#unshift","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":71,"kind":2048,"name":"indexOf","url":"interfaces/_lit_element_.cssresultarray.html#indexof","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":72,"kind":2048,"name":"lastIndexOf","url":"interfaces/_lit_element_.cssresultarray.html#lastindexof","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":73,"kind":2048,"name":"every","url":"interfaces/_lit_element_.cssresultarray.html#every","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":74,"kind":2048,"name":"some","url":"interfaces/_lit_element_.cssresultarray.html#some","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":75,"kind":2048,"name":"forEach","url":"interfaces/_lit_element_.cssresultarray.html#foreach","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":76,"kind":2048,"name":"map","url":"interfaces/_lit_element_.cssresultarray.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":77,"kind":2048,"name":"filter","url":"interfaces/_lit_element_.cssresultarray.html#filter","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":78,"kind":2048,"name":"reduce","url":"interfaces/_lit_element_.cssresultarray.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":79,"kind":2048,"name":"reduceRight","url":"interfaces/_lit_element_.cssresultarray.html#reduceright","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":80,"kind":1024,"name":"Array","url":"interfaces/_lit_element_.cssresultarray.html#array","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lit-element\".CSSResultArray"},{"id":81,"kind":2048,"name":"__@unscopables","url":"interfaces/_lit_element_.cssresultarray.html#___unscopables","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":82,"kind":2048,"name":"__@iterator","url":"interfaces/_lit_element_.cssresultarray.html#___iterator","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":83,"kind":2048,"name":"entries","url":"interfaces/_lit_element_.cssresultarray.html#entries","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":84,"kind":2048,"name":"keys","url":"interfaces/_lit_element_.cssresultarray.html#keys","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":85,"kind":2048,"name":"values","url":"interfaces/_lit_element_.cssresultarray.html#values","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":86,"kind":2048,"name":"find","url":"interfaces/_lit_element_.cssresultarray.html#find","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":87,"kind":2048,"name":"findIndex","url":"interfaces/_lit_element_.cssresultarray.html#findindex","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":88,"kind":2048,"name":"fill","url":"interfaces/_lit_element_.cssresultarray.html#fill","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":89,"kind":2048,"name":"copyWithin","url":"interfaces/_lit_element_.cssresultarray.html#copywithin","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"\"lit-element\".CSSResultArray"},{"id":90,"kind":128,"name":"LitElement","url":"classes/_lit_element_.litelement.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lit-element\""},{"id":91,"kind":1024,"name":"finalized","url":"classes/_lit_element_.litelement.html#finalized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":92,"kind":1024,"name":"render","url":"classes/_lit_element_.litelement.html#render","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":93,"kind":65536,"name":"__type","url":"classes/_lit_element_.litelement.html#render.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"lit-element\".LitElement.render"},{"id":94,"kind":1024,"name":"styles","url":"classes/_lit_element_.litelement.html#styles","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":95,"kind":2048,"name":"finalize","url":"classes/_lit_element_.litelement.html#finalize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":96,"kind":1024,"name":"renderRoot","url":"classes/_lit_element_.litelement.html#renderroot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lit-element\".LitElement"},{"id":97,"kind":1024,"name":"Element","url":"classes/_lit_element_.litelement.html#element","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"lit-element\".LitElement"},{"id":98,"kind":2048,"name":"initialize","url":"classes/_lit_element_.litelement.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":99,"kind":2048,"name":"createRenderRoot","url":"classes/_lit_element_.litelement.html#createrenderroot","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":100,"kind":2048,"name":"adoptStyles","url":"classes/_lit_element_.litelement.html#adoptstyles","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":101,"kind":2048,"name":"connectedCallback","url":"classes/_lit_element_.litelement.html#connectedcallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"\"lit-element\".LitElement"},{"id":102,"kind":2048,"name":"update","url":"classes/_lit_element_.litelement.html#update","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":103,"kind":2048,"name":"render","url":"classes/_lit_element_.litelement.html#render-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":104,"kind":1024,"name":"properties","url":"classes/_lit_element_.litelement.html#properties","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":105,"kind":262144,"name":"observedAttributes","url":"classes/_lit_element_.litelement.html#observedattributes","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":106,"kind":2048,"name":"createProperty","url":"classes/_lit_element_.litelement.html#createproperty","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"lit-element\".LitElement"},{"id":107,"kind":512,"name":"constructor","url":"classes/_lit_element_.litelement.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"\"lit-element\".LitElement"},{"id":108,"kind":2048,"name":"disconnectedCallback","url":"classes/_lit_element_.litelement.html#disconnectedcallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"\"lit-element\".LitElement"},{"id":109,"kind":2048,"name":"attributeChangedCallback","url":"classes/_lit_element_.litelement.html#attributechangedcallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"\"lit-element\".LitElement"},{"id":110,"kind":2048,"name":"requestUpdate","url":"classes/_lit_element_.litelement.html#requestupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"\"lit-element\".LitElement"},{"id":111,"kind":262144,"name":"hasUpdated","url":"classes/_lit_element_.litelement.html#hasupdated","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":112,"kind":2048,"name":"performUpdate","url":"classes/_lit_element_.litelement.html#performupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":113,"kind":262144,"name":"updateComplete","url":"classes/_lit_element_.litelement.html#updatecomplete","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"\"lit-element\".LitElement"},{"id":114,"kind":2048,"name":"shouldUpdate","url":"classes/_lit_element_.litelement.html#shouldupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":115,"kind":2048,"name":"updated","url":"classes/_lit_element_.litelement.html#updated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":116,"kind":2048,"name":"firstUpdated","url":"classes/_lit_element_.litelement.html#firstupdated","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":117,"kind":1,"name":"\"demo/ts-element\"","url":"modules/_demo_ts_element_.html","classes":"tsd-kind-external-module"}]}; \ No newline at end of file diff --git a/docs/api/classes/_lib_css_tag_.cssresult.html b/docs/api/classes/_lib_css_tag_.cssresult.html index 23169e63..01d3b5ea 100644 --- a/docs/api/classes/_lib_css_tag_.cssresult.html +++ b/docs/api/classes/_lib_css_tag_.cssresult.html @@ -152,7 +152,7 @@
Static properties
Protected hasUpdated
Returns number
@@ -249,13 +252,13 @@Returns number-
@@ -269,7 +272,7 @@
updateComplete
-- get updateComplete(): Promise<unknown>
+ - get updateComplete(): Promise<any>
updateComplete
super.updateCompletethen any subsequent state.Returns Promise<unknown>
+Returns Promise<any>
The Promise returns a boolean that indicates if the update resolved without triggering another update.
@@ -285,7 +288,7 @@Static observedAttributes
-
@@ -308,13 +311,13 @@ -
@@ -328,10 +331,10 @@ -
-
-
-
-
-
@@ -389,7 +392,7 @@
Methods
attributeChangedCallback
-- attribute
ChangedCallback(name: string, old: string, value: string): void
+ - attribute
ChangedCallback(name: string, old: string | null, value: string | null): void
Parameters
name: string
old: string
+old: string | null
value: string
+value: string | null
Returns void
@@ -348,7 +351,7 @@connectedCallback
Returns void
@@ -365,7 +368,7 @@disconnectedCallback
Protected firstUpdated
-
@@ -423,7 +426,7 @@ -
@@ -446,7 +449,7 @@
Protected initialize
Protected performUpdate<
-
@@ -458,7 +461,8 @@
Protected performUpdate<
+} +protected async performUpdate(): Promise<unknown> { await new Promise((resolve) => requestAnimationFrame(() => resolve())); super.performUpdate(); -}Returns void | @@ -471,13 +475,13 @@
Returns void-
@@ -500,13 +504,13 @@
-
requestUpdate
-- request
Update(name?: PropertyKey, oldValue?: any): Promise<unknown>
+ - request
Update(name?: PropertyKey, oldValue?: unknown): Promise<any>
Optional name: Optional oldValue: any
+Optional oldValue: unknown
(optional) old value of requesting property
Returns Promise<unknown>
+Returns Promise<any>
A Promise that is resolved when the update completes.
@@ -521,7 +525,7 @@Protected shouldUpdate
-
@@ -554,7 +558,7 @@ -
@@ -588,7 +592,7 @@ -
@@ -622,7 +626,7 @@ -
@@ -660,7 +664,7 @@
Protected update
Protected updated
Static createProperty
Static
@@ -685,9 +689,6 @@
Returns void Globals --
- Internals
-
-
"demo/ts-
element"
@@ -701,18 +702,6 @@
Returns void"lib/updating-element"
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/classes/_lit_element_.litelement.html b/docs/api/classes/_lit_element_.litelement.html
index af5bfa8c..09263048 100644
--- a/docs/api/classes/_lit_element_.litelement.html
+++ b/docs/api/classes/_lit_element_.litelement.html
@@ -117,59 +117,60 @@
-
+
-
+
-
+
-
+
-
+
+
-
+
+
+
+ Element: number = |DocumentFragment
+
+
+
- renderRoot: Element | DocumentFragment
+ renderRoot: boolean = !
@@ -203,14 +214,14 @@
Hierarchy
Index
Constructors
-- constructor
+ - constructor
Properties
-- render
Root
- - finalized
- - properties
- - render
- - styles
+ - Element
+ - render
Root
+ - finalized
+ - properties
+ - render
+ - styles
Accessors
-- has
Updated
- - update
Complete
- - observed
Attributes
+ - has
Updated
+ - update
Complete
+ - observed
Attributes
Methods
-- adopt
Styles
- - attribute
ChangedCallback
- - connected
Callback
- - create
RenderRoot
- - disconnected
Callback
- - first
Updated
- - initialize
- - perform
Update
- - render
- - request
Update
- - should
Update
- - update
- - updated
- - create
Property
- - finalize
+ - adopt
Styles
+ - attribute
ChangedCallback
+ - connected
Callback
+ - create
RenderRoot
+ - disconnected
Callback
+ - first
Updated
+ - initialize
+ - perform
Update
+ - render
+ - request
Update
+ - should
Update
+ - update
+ - updated
+ - create
Property
+ - finalize
Constructors
-constructor
-+- new
LitElement(): LitElement
@@ -177,7 +178,7 @@
constructor
Returns LitElement
@@ -185,15 +186,25 @@Returns
Properties
-Element
+Protected Optional renderRoot
-renderRoot
+Protected +
finalized: boolean = true
@@ -220,14 +231,14 @@
-
+
render: render = render
+ render: function = render
@@ -265,14 +276,41 @@
+
+
-
+
styles: CSSResult | CSSResultArray
@@ -283,12 +321,12 @@
-
-
+
Static Protected finalized
Static +
properties: PropertyDeclarations
@@ -237,13 +248,13 @@
Static properties
Static properties
Static render
-Static render
Type declaration
++-
+
+
++- (result: TemplateResult, container: Element | DocumentFragment, options: ShadyRenderOptions): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+result: TemplateResult
+container: Element | DocumentFragment
+options: ShadyRenderOptions
+Returns void
+Static Optional styles
Static +
+
-
+
Accessors
-Protected hasUpdated
-+- get hasUpdated(): number
@@ -296,25 +334,25 @@
Protected hasUpdated
Inherited from UpdatingElement.hasUpdated
-- Defined in lib/updating-element.ts:634
+ - Defined in lib/updating-element.ts:646
Returns number
updateComplete
--- get updateComplete(): Promise<unknown>
+ -
@@ -328,16 +366,16 @@
+- get updateComplete(): Promise<any>
updateComplete
super.updateCompletethen any subsequent state.Returns Promise<unknown>
+Returns Promise<any>
The Promise returns a boolean that indicates if the update resolved without triggering another update.
Static observedAttributes
-+- get observedAttributes(): string[]
@@ -345,7 +383,7 @@
Static observedAttributes
@@ -362,19 +400,19 @@
Returns string -
+
+
Methods
-Protected adoptStyles
-+- adopt
Styles(): void
-
@@ -392,18 +430,18 @@
Returns void -
+
-
+
attributeChangedCallback
--- attribute
ChangedCallback(name: string, old: string, value: string): void
+ -
@@ -417,20 +455,20 @@ -
-
-
-
+
-
+
-
+- attribute
ChangedCallback(name: string, old: string | null, value: string | null): void
Parameters
name: string
old: string
+old: string | null
value: string
+value: string | null
Returns void
-connectedCallback
-+- connected
Callback(): void
@@ -438,24 +476,24 @@
connectedCallback
Returns void
Protected createRenderRoot
--- create
RenderRoot(): Element | ShadowRoot
+ -
@@ -466,7 +504,7 @@
+- create
RenderRoot(): Element | ShadowRoot
Protected createRenderthis.
Returns Element +
Returns Element | ShadowRoot
@@ -474,10 +512,10 @@Returns Element
disconnectedCallback
-+- disconnected
Callback(): void
@@ -485,7 +523,7 @@
@@ -499,10 +537,10 @@
disconnectedCallback
Returns void -
+
Protected firstUpdated
-+- first
Updated(_changedProperties: PropertyValues): void
@@ -510,7 +548,7 @@
Protected firstUpdated
@@ -534,10 +572,10 @@
Returns void -
+
Protected initialize
-+- initialize(): void
@@ -545,7 +583,7 @@
@@ -559,10 +597,10 @@
Protected initialize
Returns void -
+
-
+
Protected performUpdate
-+- perform
Update(): void | Promise<unknown>
@@ -570,7 +608,7 @@
Protected performUpdate<
@@ -582,7 +620,8 @@
Protected performUpdate<
+} +protected async performUpdate(): Promise<unknown> { await new Promise((resolve) => requestAnimationFrame(() => resolve())); super.performUpdate(); -}Returns void | @@ -591,17 +630,17 @@
Returns void
Protected render
-+- render(): TemplateResult | void
-
@@ -618,18 +657,18 @@
Returns TemplateR -
+
requestUpdate
--- request
Update(name?: PropertyKey, oldValue?: any): Promise<unknown>
+ -
@@ -652,21 +691,21 @@
-
+
+- request
Update(name?: PropertyKey, oldValue?: unknown): Promise<any>
Optional name: Optional oldValue: any
+Optional oldValue: unknown
(optional) old value of requesting property
Returns Promise<unknown>
+Returns Promise<any>
A Promise that is resolved when the update completes.
-Protected shouldUpdate
-+- should
Update(_changedProperties: PropertyValues): boolean
@@ -674,7 +713,7 @@
Protected shouldUpdate
@@ -697,10 +736,10 @@
Returns boolean -
+
Protected update
-+- update(changedProperties: PropertyValues): void
@@ -708,7 +747,7 @@
@@ -731,10 +770,10 @@
Protected update
Returns void -
+
Protected updated
-+- updated(_changedProperties: PropertyValues): void
@@ -742,7 +781,7 @@
@@ -766,10 +805,10 @@
Protected updated
Returns void -
+
Static createProperty
-+- create
Property(name: PropertyKey, options?: PropertyDeclaration): void
@@ -777,7 +816,7 @@
@@ -805,10 +844,10 @@
Static createProperty
Returns void -
+
Static Protected finalize
-+- finalize(): void
-
@@ -125,9 +124,6 @@ -
- Internals
-
-
"demo/ts-
element"
@@ -141,18 +137,6 @@ -
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html
index 797f3131..098bd481 100644
--- a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html
+++ b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html
@@ -146,13 +146,13 @@
@@ -816,7 +855,7 @@
diff --git a/docs/api/index.html b/docs/api/index.html index 21acbe67..b64c3fbd 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -95,17 +95,14 @@Static
@@ -837,9 +876,6 @@
@@ -121,9 +118,6 @@ -
Globals
- -
- Internals
-
-
"demo/ts-
element"
@@ -137,18 +131,6 @@ element"
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
Overrides UpdatingElement.finalize
-- Defined in lit-element.ts:74
+ - Defined in lit-element.ts:87
Returns void Globals --
- Internals
-
-
"demo/ts-
element"
@@ -852,19 +888,7 @@
Returns void "lib/updating-element"
- -
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
+
-
"lit-
element"
@@ -873,86 +897,89 @@
Returns void- "lib/css-
tag"
- "lib/decorators"
- "lib/updating-
element"
- - "lit-
element"
- - "test/lit-
element_styling_test"
- - "test/lit-
element_test"
- - "test/test-
helpers"
+ - "lit-
element"
--
+
-
Lit
Element
--
+
-
constructor
- -
+
-
+ Element
+
+ -
render
Root
- -
+
-
finalized
- -
+
-
properties
- -
+
-
render
- -
+
-
styles
- -
+
-
has
Updated
- -
+
-
update
Complete
- -
+
-
observed
Attributes
- -
+
-
adopt
Styles
- -
+
-
attribute
ChangedCallback
- -
+
-
connected
Callback
- -
+
-
create
RenderRoot
- -
+
-
disconnected
Callback
- -
+
-
first
Updated
- -
+
-
initialize
- -
+
-
perform
Update
- -
+
-
render
- -
+
-
request
Update
- -
+
-
should
Update
- -
+
-
update
- -
+
-
updated
- -
+
-
create
Property
- -
+
-
finalize
--
+
-
CSSResult
Array
diff --git a/docs/api/globals.html b/docs/api/globals.html index 834bf7db..82c94ae6 100644 --- a/docs/api/globals.html +++ b/docs/api/globals.html @@ -105,10 +105,7 @@External modules
External modules
External modules
"lib/updating-lit-element
LitElement API Documentation
Install lit-element
-npm install --save lit-elementModules
+npm install --save lit-element +Modules
lit-element
Extends UpdatingElement to include lit-html templating. Users define a
rendermethod to provide an element template, which is called when required byupdate.Import
-LitElementandhtmlfrom this module to create a component:import { LitElement, html } from 'lit-element'; + +customElements.define('my-element', MyElement); +lib/updating-element
-+import { UpdatingElement } from 'lit-element/lib/updating-element.js';import { UpdatingElement } from 'lit-element/lib/updating-element.js'; +Custom Element base class that supports declaring observable properties, reflecting attributes to properties, and the core update lifecycle methods.
Globals -
"lib/updating-element"
Methods
Optional fromAttribute
-- from
Attribute(value: string, type?: TypeHint): Type
+ - from
Attribute(value: string | null, type?: TypeHint): Type
-
@@ -164,7 +164,7 @@
-Optional fromAttributeParameters
-
-
-
value: string
+value: string | null
Optional type: TypeHint
@@ -178,13 +178,13 @@Returns Type-
@@ -192,6 +192,8 @@
+
Optional toAttribute
-- to
Attribute(value: Type, type?: TypeHint): string | null
+ - to
Attribute(value: Type, type?: TypeHint): unknown
Optional toAttribute
Function called to convert a property value to an attribute value.
It returns unknown instead of string, to be compatible with + https://github.com/WICG/trusted-types (and similar efforts).
Parameters
@@ -202,10 +204,7 @@
value: Type
Optional type: TypeHint
Returns string - | - null -
+Returns unknown
@@ -217,9 +216,6 @@Returns string Globals --
- Internals
-
-
"demo/ts-
element"
@@ -233,18 +229,6 @@
Returns string"lib/updating-element"
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/interfaces/_lib_updating_element_.haschanged.html b/docs/api/interfaces/_lib_updating_element_.haschanged.html
index 2795e6b8..18e32c28 100644
--- a/docs/api/interfaces/_lib_updating_element_.haschanged.html
+++ b/docs/api/interfaces/_lib_updating_element_.haschanged.html
@@ -117,7 +117,7 @@ -
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html
index 59842186..7e9cc42c 100644
--- a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html
+++ b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html
@@ -157,7 +157,7 @@ attribute: boolean | string
@@ -176,7 +176,7 @@ converter: AttributeConverter<Type, TypeHint>
@@ -197,10 +197,10 @@
noAccessor: undefined | false | true
+ noAccessor: undefined | true | false
@@ -217,10 +217,10 @@
reflect: undefined | false | true
+ reflect: undefined | true | false
@@ -239,7 +239,7 @@ type: TypeHint
@@ -263,7 +263,7 @@ -
@@ -294,9 +294,6 @@
Callable
Parameters
@@ -140,9 +140,6 @@Returns boolean-
Globals
- -
- Internals
-
-
"demo/ts-
element"
@@ -156,18 +153,6 @@
Returns boolean "lib/updating-element"
Optional attribute
Optional converter
Optional converter
Optional noAccessor
-Optional noAccessor
Optional reflect
-Optional type
Optional hasChanged
Returns boolean-
Globals
- -
- Internals
-
-
"demo/ts-
element"
@@ -310,18 +307,6 @@
Returns boolean "lib/updating-element"
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html
index cfeb836e..e6f2f9fa 100644
--- a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html
+++ b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html
@@ -135,9 +135,6 @@ -
Globals
- -
- Internals
-
-
"demo/ts-
element"
@@ -151,18 +148,6 @@ element"
-
- "test/lit-
element_styling_test"
-
- -
- "test/lit-
element_test"
-
- -
- "test/test-
helpers"
-
- -
- Externals
-
- -
"lit-
element"
diff --git a/docs/api/interfaces/_lit_element_.cssresultarray.html b/docs/api/interfaces/_lit_element_.cssresultarray.html
index 20ef08b6..91f98712 100644
--- a/docs/api/interfaces/_lit_element_.cssresultarray.html
+++ b/docs/api/interfaces/_lit_element_.cssresultarray.html
@@ -113,7 +113,7 @@
+
[n: number]: CSSResult | CSSResultArray
@@ -121,72 +121,72 @@
-
+
-
+
-
+
+
Array: ArrayConstructor
-
+
length: number
@@ -196,12 +196,12 @@
-
+
+
Indexable
Indexable
"lib/updating-Hierarchy
-Indexable
Indexable
Index
Properties
-- Array
- - length
+ - Array
+ - length
Methods
-- __@iterator
- - __@unscopables
- - concat
- - copy
Within
- - entries
- - every
- - fill
- - filter
- - find
- - find
Index
- - for
Each
- - includes
- - index
Of
- - join
- - keys
- - last
IndexOf
- - map
- - pop
- - push
- - reduce
- - reduce
Right
- - reverse
- - shift
- - slice
- - some
- - sort
- - splice
- - to
LocaleString
- - to
String
- - unshift
- - values
+ - __@iterator
+ - __@unscopables
+ - concat
+ - copy
Within
+ - entries
+ - every
+ - fill
+ - filter
+ - find
+ - find
Index
+ - for
Each
+ - includes
+ - index
Of
+ - join
+ - keys
+ - last
IndexOf
+ - map
+ - pop
+ - push
+ - reduce
+ - reduce
Right
+ - reverse
+ - shift
+ - slice
+ - some
+ - sort
+ - splice
+ - to
LocaleString
+ - to
String
+ - unshift
+ - values
Properties
-Array
length
length
Methods
-__@iterator
-+- __@iterator(): IterableIterator<CSSResult | CSSResultArray>
@@ -209,7 +209,7 @@
@@ -221,10 +221,10 @@
__@iterator
Returns IterableI -
+
__@unscopables
-+- __@unscopables(): object
@@ -232,7 +232,7 @@
@@ -247,19 +247,19 @@
__@unscopables
Returns object -
+
concat
--- concat(...items: ConcatArray<CSSResult | CSSResultArray>[]): (CSSResult | CSSResultArray)[]
- - concat(...items: (T | ConcatArray<T>)[]): (CSSResult | CSSResultArray)[]
+ -
@@ -270,7 +270,7 @@ -
-
@@ -282,7 +282,7 @@
@@ -293,7 +293,7 @@
+
+- concat(...items: (CSSResult | CSSResultArray)[][]): (CSSResult | CSSResultArray)[]
+ - concat(...items: (T[] | T)[]): (CSSResult | CSSResultArray)[]
concat
Parameters
Rest ...items: ConcatArray<CSSResult | CSSResultArray>[]
+Rest ...items: (CSSResult | CSSResultArray)[][]
Additional items to add to the end of array1.
Returns (
Inherited from Array.concat
-- Defined in /Users/katejeffreys/.nvm/versions/node/v10.6.0/lib/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:1166
+ - Defined in /home/arm/repositories/lit-element/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:1127
Returns (Parameters
-
-
@@ -303,10 +303,10 @@
-Rest ...items: (T | ConcatArray<T>)[]
+Rest ...items: (T[] | T)[]
Additional items to add to the end of array1.
Returns (
copyWithin
-+- copy
Within(target: number, start: number, end?: undefined | number): this
@@ -314,7 +314,7 @@
@@ -350,10 +350,10 @@
copyWithin
Returns this -
+
entries
-+- entries(): IterableIterator<[number, CSSResult | CSSResultArray]>
@@ -361,7 +361,7 @@
@@ -373,10 +373,10 @@
entries
Returns IterableI -
+
every
-+- every(callbackfn: function, thisArg?: any): boolean
@@ -384,7 +384,7 @@
@@ -435,10 +435,10 @@
every
Returns boolean -
+
fill
-+- fill(value: CSSResult | CSSResultArray, start?: undefined | number, end?: undefined | number): this
@@ -446,7 +446,7 @@
@@ -481,10 +481,10 @@
fill
Returns this -
+
filter
-+
@@ -552,7 +552,7 @@ -
+
+
- filter<S>(callbackfn: function, thisArg?: any): S[]
- filter(callbackfn: function, thisArg?: any): (CSSResult | CSSResultArray)[]
@@ -493,7 +493,7 @@filter
Returns S<
@@ -603,19 +603,20 @@
-
Returns ( -
+
find
--- find<S>(predicate: function, thisArg?: any): S | undefined
- - find(predicate: function, thisArg?: any): CSSResult | CSSResultArray | undefined
+ -
@@ -624,12 +625,6 @@
+- find(predicate: function): CSSResult | CSSResultArray | undefined
+ - find(predicate: function, thisArg: undefined): CSSResult | CSSResultArray | undefined
+ - find<Z>(predicate: function, thisArg: Z): CSSResult | CSSResultArray | undefined
find
otherwise.Type parameters
---
-
-
S: CSSResult | CSSResultArray
-Parameters
-
@@ -642,7 +637,7 @@
-
-
@@ -658,7 +653,7 @@
-
-
+
+predicate: function
-- (this: void, value: CSSResult | CSSResultArray, index: number, obj: (CSSResult | CSSResultArray)[]): boolean
+ - (this: void, value: CSSResult | CSSResultArray, index: number, obj: Array<CSSResult | CSSResultArray>): boolean
value: number
obj: (CSSResult | CSSResultArray)[]
+obj: Array<CSSResult | CSSResultArray>
Returns boolean
@@ -667,15 +662,60 @@Returns boolean
Returns CSSResult + | + CSSResultArray + | + undefined +
+ +Parameters
+-
-
-
+
+ -
+
-Optional thisArg: any
-If provided, it will be used as the this value for each invocation of - predicate. If it is not provided, undefined is used instead.
-predicate: function
++-
+
+
++- (this: void, value: CSSResult | CSSResultArray, index: number, obj: Array<CSSResult | CSSResultArray>): boolean
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+ -
+
+
+this: void
+value: CSSResult | CSSResultArray
+index: number
+obj: Array<CSSResult | CSSResultArray>
+Returns boolean
+thisArg: undefined
Returns S +
Returns CSSResult + | + CSSResultArray | undefined
@@ -684,9 +724,15 @@Returns S +-
@@ -694,12 +740,15 @@
-
-
-
-
-
-
Type parameters
++-
+
+
Z
+Parameters
predicate: function
-- (value: CSSResult | CSSResultArray, index: number, obj: (CSSResult | CSSResultArray)[]): boolean
+ - (this: Z, value: CSSResult | CSSResultArray, index: number, obj: Array<CSSResult | CSSResultArray>): boolean
Parameters
+-
+
-
@@ -707,7 +756,7 @@
this: Z
+value: CSSResult | CSSResultArray
value: number
obj: (CSSResult | CSSResultArray)[]
+obj: Array<CSSResult | CSSResultArray>
Returns boolean
@@ -717,7 +766,7 @@Returns boolean
Optional thisArg: any
+thisArg: Z
Returns CSSResult @@ -729,18 +778,20 @@
Returns +
findIndex
--- find
Index(predicate: function, thisArg?: any): number
+ -
@@ -761,12 +812,15 @@ -
+
+
-
-
-
+
+- find
Index(predicate: function): number
+ - find
Index(predicate: function, thisArg: undefined): number
+ - find
Index<Z>(predicate: function, thisArg: Z): number
predicate: function
-
-
-
-
+ +-- (value: CSSResult | CSSResultArray, index: number, obj: (CSSResult | CSSResultArray)[]): boolean
+ - (this: void, value: CSSResult | CSSResultArray, index: number, obj: Array<CSSResult | CSSResultArray>): boolean
Parameters
+-
+
-
@@ -774,7 +828,7 @@
this: void
+value: CSSResult | CSSResultArray
value: number
obj: (CSSResult | CSSResultArray)[]
+obj: Array<CSSResult | CSSResultArray>
Returns boolean
@@ -783,22 +837,111 @@Returns boolean
Returns number
+ +Parameters
+Optional thisArg: any
-If provided, it will be used as the this value for each invocation of - predicate. If it is not provided, undefined is used instead.
-predicate: function
++-
+
+- (this: void, value: CSSResult | CSSResultArray, index: number, obj: Array<CSSResult | CSSResultArray>): boolean
+
++-
+
Parameters
++-
+