From 16476c5840ef4cc683049b78f9ed4146c5bedf27 Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Fri, 18 Jan 2019 15:50:13 -0800 Subject: [PATCH 1/4] Add a search box --- docs/_includes/topnav.html | 10 +++++++++- docs/_layouts/default.html | 10 ++++++++++ docs/css/main.css | 31 +++++++++++++++++++++++++++---- 3 files changed, 46 insertions(+), 5 deletions(-) diff --git a/docs/_includes/topnav.html b/docs/_includes/topnav.html index 81312f33..c713ab1f 100644 --- a/docs/_includes/topnav.html +++ b/docs/_includes/topnav.html @@ -5,9 +5,17 @@ Guide API - + + + + + + + + + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 57b84fb9..567f3ea7 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -37,5 +37,15 @@ + diff --git a/docs/css/main.css b/docs/css/main.css index ffa8be85..62bbc763 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -161,14 +161,37 @@ time { padding: 0 12px; } -.main-nav .icon-github { - margin-right: 20px; - margin-left: 12px; +.main-nav .icon { + padding: 0 12px; width: 24px; height: 24px; background-size: cover; } +.main-nav .search-box { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + height: 100%; + padding: 0 12px; + font-size: 16px; + border: none; + box-sizing: border-box; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + -webkit-appearance: none; +} + +.main-nav .search-box:focus { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + transition: -webkit-transform 0.2s; + transition: transform 0.2s; +} + /* Content area */ main { margin-top: 60px; @@ -182,7 +205,7 @@ main { /* Landing page */ .hero .main-nav { - position: static; + position: relative; background: none; box-shadow: none; } From 6e51e69477fa5707c3023cea0b7816b8285ca819 Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Tue, 22 Jan 2019 11:40:16 -0800 Subject: [PATCH 2/4] Add search box to API docs --- docs/_api/theme/layouts/default.hbs | 37 +- docs/_includes/topnav.html | 3 - docs/api/assets/js/search.js | 4 +- docs/api/classes/_lib_css_tag_.cssresult.html | 57 +- ...lib_updating_element_.updatingelement.html | 102 +- .../api/classes/_lit_element_.litelement.html | 371 +-- docs/api/globals.html | 54 +- docs/api/index.html | 60 +- ...ng_element_.complexattributeconverter.html | 56 +- .../_lib_updating_element_.haschanged.html | 54 +- ...updating_element_.propertydeclaration.html | 68 +- ...pdating_element_.propertydeclarations.html | 52 +- .../_lit_element_.cssresultarray.html | 2149 +++++++++++++++++ docs/api/modules/_demo_ts_element_.html | 49 +- docs/api/modules/_lib_css_tag_.html | 57 +- docs/api/modules/_lib_decorators_.html | 84 +- docs/api/modules/_lib_updating_element_.html | 106 +- docs/api/modules/_lit_element_.html | 66 +- .../_test_lit_element_styling_test_.html | 194 -- docs/api/modules/_test_lit_element_test_.html | 194 -- docs/api/modules/_test_test_helpers_.html | 308 --- 21 files changed, 2973 insertions(+), 1152 deletions(-) create mode 100644 docs/api/interfaces/_lit_element_.cssresultarray.html delete mode 100644 docs/api/modules/_test_lit_element_styling_test_.html delete mode 100644 docs/api/modules/_test_lit_element_test_.html delete mode 100644 docs/api/modules/_test_test_helpers_.html diff --git a/docs/_api/theme/layouts/default.hbs b/docs/_api/theme/layouts/default.hbs index ca512a19..008f7f78 100644 --- a/docs/_api/theme/layouts/default.hbs +++ b/docs/_api/theme/layouts/default.hbs @@ -11,6 +11,19 @@ + + {{!-- Add margin-top to offset our custom fixed top nav. --}} + @@ -20,12 +33,17 @@ Try Guide API - - + + + + + + + {{> header}} @@ -60,6 +78,21 @@
+ {{> analytics}} diff --git a/docs/_includes/topnav.html b/docs/_includes/topnav.html index c713ab1f..831734a7 100644 --- a/docs/_includes/topnav.html +++ b/docs/_includes/topnav.html @@ -4,18 +4,15 @@ Try Guide API - - - diff --git a/docs/api/assets/js/search.js b/docs/api/assets/js/search.js index a170bb76..dffef1b7 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":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":19,"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":20,"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":21,"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":22,"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":23,"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":24,"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":25,"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":26,"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":27,"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":28,"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":29,"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":30,"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":31,"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":32,"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":33,"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":34,"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":35,"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":36,"kind":1,"name":"\"lib/decorators\"","url":"modules/_lib_decorators_.html","classes":"tsd-kind-external-module"},{"id":37,"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":38,"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":39,"kind":64,"name":"customElement","url":"modules/_lib_decorators_.html#customelement","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":40,"kind":64,"name":"property","url":"modules/_lib_decorators_.html#property","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":41,"kind":32,"name":"query","url":"modules/_lib_decorators_.html#query","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":42,"kind":32,"name":"queryAll","url":"modules/_lib_decorators_.html#queryall","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":43,"kind":64,"name":"eventOptions","url":"modules/_lib_decorators_.html#eventoptions","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/decorators\""},{"id":44,"kind":1,"name":"\"lib/css-tag\"","url":"modules/_lib_css_tag_.html","classes":"tsd-kind-external-module"},{"id":45,"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":46,"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":47,"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":48,"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":49,"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":50,"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":51,"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":52,"kind":1,"name":"\"demo/ts-element\"","url":"modules/_demo_ts_element_.html","classes":"tsd-kind-external-module"},{"id":53,"kind":1,"name":"\"test/test-helpers\"","url":"modules/_test_test_helpers_.html","classes":"tsd-kind-external-module"},{"id":54,"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":55,"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":56,"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":57,"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":58,"kind":1,"name":"\"test/lit-element_styling_test\"","url":"modules/_test_lit_element_styling_test_.html","classes":"tsd-kind-external-module"},{"id":59,"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":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":19,"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":20,"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":21,"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":22,"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":23,"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":24,"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":25,"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":26,"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":27,"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":28,"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":29,"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":30,"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":31,"kind":64,"name":"JSCompiler_renameProperty","url":"modules/_lib_updating_element_.html#jscompiler_renameproperty","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"lib/updating-element\""},{"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":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":32,"name":"supportsAdoptingStyleSheets","url":"modules/_lib_css_tag_.html#supportsadoptingstylesheets","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"lib/css-tag\""},{"id":52,"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":53,"kind":1,"name":"\"lit-element\"","url":"modules/_lit_element_.html","classes":"tsd-kind-external-module"},{"id":54,"kind":256,"name":"CSSResultArray","url":"interfaces/_lit_element_.cssresultarray.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"lit-element\""},{"id":55,"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":56,"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":57,"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":58,"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":59,"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":60,"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":61,"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":62,"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":63,"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":64,"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":65,"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":66,"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":67,"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":68,"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":69,"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":70,"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":71,"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":72,"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":73,"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":74,"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":75,"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":76,"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":77,"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":78,"kind":1024,"name":"Array","url":"interfaces/_lit_element_.cssresultarray.html#array","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"lit-element\".CSSResultArray"},{"id":79,"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":80,"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":81,"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":82,"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":83,"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":84,"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":85,"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":86,"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":87,"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":88,"kind":128,"name":"LitElement","url":"classes/_lit_element_.litelement.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"lit-element\""},{"id":89,"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":90,"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":91,"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":92,"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":93,"kind":1024,"name":"renderRoot","url":"classes/_lit_element_.litelement.html#renderroot","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"\"lit-element\".LitElement"},{"id":94,"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":95,"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":96,"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":97,"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":98,"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":99,"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":100,"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":101,"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":102,"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":103,"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":104,"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":105,"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":106,"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":107,"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":108,"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":109,"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":110,"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":111,"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":112,"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":113,"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 085b2c21..fbcc46ef 100644 --- a/docs/api/classes/_lib_css_tag_.cssresult.html +++ b/docs/api/classes/_lib_css_tag_.cssresult.html @@ -10,6 +10,17 @@ +
@@ -128,7 +145,7 @@

constructor

  • Parameters

    @@ -150,7 +167,7 @@

    Optional _styleSheet

    _styleSheet: CSSStyleSheet | null
    @@ -160,7 +177,7 @@

    cssText

    cssText: string
    @@ -177,7 +194,7 @@

    styleSheet

  • Returns CSSStyleSheet @@ -195,9 +212,6 @@

    Returns CSSStyleS
  • Globals
  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -211,18 +225,6 @@

    Returns CSSStyleS "lib/updating-element"

  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -326,5 +328,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/classes/_lib_updating_element_.updatingelement.html b/docs/api/classes/_lib_updating_element_.updatingelement.html index 88d9c159..b876d22f 100644 --- a/docs/api/classes/_lib_updating_element_.updatingelement.html +++ b/docs/api/classes/_lib_updating_element_.updatingelement.html @@ -10,6 +10,17 @@ +
    @@ -95,11 +112,14 @@

    Class UpdatingElement

    Hierarchy

    @@ -196,7 +216,7 @@

    Static properties

    @@ -219,7 +239,7 @@

    Protected hasUpdated

    Returns number

    @@ -230,13 +250,13 @@

    Returns number

    updateComplete

      -
    • get updateComplete(): Promise<unknown>
    • +
    • get updateComplete(): Promise<any>

    -

    Returns Promise<unknown>

    +

    Returns Promise<any>

    The Promise returns a boolean that indicates if the update resolved without triggering another update.

    @@ -266,7 +286,7 @@

    Static observedAttributes
    @@ -295,7 +315,7 @@

    attributeChangedCallback

  • @@ -329,7 +349,7 @@

    connectedCallback

  • Returns void

    @@ -346,7 +366,7 @@

    disconnectedCallback

  • @@ -370,7 +390,7 @@

    Protected firstUpdated
    @@ -404,7 +424,7 @@

    Protected initialize

  • @@ -427,7 +447,7 @@

    Protected performUpdate<
  • @@ -439,7 +459,8 @@

    Protected performUpdate<
    protected async performUpdate(): Promise<unknown> {
       await new Promise((resolve) => requestAnimationFrame(() => resolve()));
       super.performUpdate();
    -}
    +} +

    Returns void | @@ -452,13 +473,13 @@

    Returns void

    requestUpdate

      -
    • requestUpdate(name?: PropertyKey, oldValue?: any): Promise<unknown>
    • +
    • requestUpdate(name?: PropertyKey, oldValue?: any): Promise<any>
    -

    Returns Promise<unknown>

    +

    Returns Promise<any>

    A Promise that is resolved when the update completes.

  • @@ -502,7 +523,7 @@

    Protected shouldUpdate
    @@ -535,7 +556,7 @@

    Protected update

  • @@ -569,7 +590,7 @@

    Protected updated

  • @@ -603,7 +624,7 @@

    Static createProperty

  • @@ -639,9 +660,6 @@

    Returns void Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -655,18 +673,6 @@

    Returns void"lib/updating-element"

  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -748,6 +754,9 @@

    Returns void PropertyValues

  • +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -824,5 +833,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/classes/_lit_element_.litelement.html b/docs/api/classes/_lit_element_.litelement.html index 92900bd3..abcaf79f 100644 --- a/docs/api/classes/_lit_element_.litelement.html +++ b/docs/api/classes/_lit_element_.litelement.html @@ -10,6 +10,17 @@ +
    @@ -99,58 +116,58 @@

    Hierarchy

    Index

    -
    +

    Constructors

    -
    +

    constructor

    -
    -
    +

    Properties

    -
    +

    Protected Optional renderRoot

    renderRoot: Element | DocumentFragment
    @@ -184,14 +201,14 @@

    Protected +

    Static Protected finalized

    finalized: boolean = true
    @@ -201,14 +218,14 @@

    Static +

    Static properties

    @@ -218,13 +235,13 @@

    Static properties

    -
    +

    Static render

    -
    render: render = render
    +
    render: function = render
    @@ -246,14 +263,57 @@

    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

    + + +
    +
    +

    Array of styles to apply to the element. The styles should be defined + using the css tag function.

    +
    +
    -
    +

    Accessors

    -
    +

    Protected hasUpdated

    -
    -
    +

    updateComplete

    -

    -

    Returns Promise<unknown>

    +

    Returns Promise<any>

    The Promise returns a boolean that indicates if the update resolved without triggering another update.

    -
    +

    Static observedAttributes

    -
    -
    - -

    Static styles

    - -
      -
    • - -
      -
      -

      Array of styles to apply to the element. The styles should be defined - using the css tag function.

      -
      -
      -

      Returns CSSResult[]

      -
    • -
    -
    -
    +

    Methods

    -
    +

    Protected adoptStyles

    -
    -
    +

    attributeChangedCallback

    -
    -
    +

    connectedCallback

    -
    -
    +

    Protected createRenderRoot

    -
    -
    +

    disconnectedCallback

    -
    -
    +

    Protected firstUpdated

    -
    -
    +

    Protected initialize

    -
    -
    +

    Protected performUpdate

    -
      +
      • performUpdate(): void | Promise<unknown>
        @@ -558,7 +595,7 @@

        Protected performUpdate<
        @@ -570,7 +607,8 @@

        Protected performUpdate<
        protected async performUpdate(): Promise<unknown> {
           await new Promise((resolve) => requestAnimationFrame(() => resolve()));
           super.performUpdate();
        -}
        +} +

        Returns void | @@ -579,17 +617,17 @@

        Returns void

    -
    +

    Protected render

    -
    -
    +

    requestUpdate

    -
      -
    • requestUpdate(name?: PropertyKey, oldValue?: any): Promise<unknown>
    • +
        +
      • requestUpdate(name?: PropertyKey, oldValue?: any): Promise<any>
      -

      Returns Promise<unknown>

      +

      Returns Promise<any>

      A Promise that is resolved when the update completes.

    -
    +

    Protected shouldUpdate

    -
    -
    +

    Protected update

    -
    -
    +

    Protected updated

    -
    -
    +

    Static createProperty

    -
    @@ -983,5 +1009,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/globals.html b/docs/api/globals.html index ec7c0586..a05b8264 100644 --- a/docs/api/globals.html +++ b/docs/api/globals.html @@ -10,6 +10,17 @@ +
    @@ -103,9 +117,6 @@

    External modules

  • Globals
  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -119,18 +130,6 @@

    External modules

    "lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -207,5 +206,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html index 5caffffe..7a8d3326 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -10,6 +10,17 @@ +
    @@ -83,11 +100,12 @@

    🛠 Status: In Development

    LitElement API Documentation

    Install lit-element

    -
    npm install --save lit-element

    Modules

    +
    npm install --save lit-element
    +

    Modules

    lit-element

    Extends UpdatingElement to include lit-html templating. Users define a render method to provide an element template, which is called when required by update.

    Import LitElement and html from this module to create a component:

    -
    import { LitElement, html } from 'lit-element';
    +				
    import { LitElement, html } from 'lit-element';
     
     class MyElement extends LitElement {
       render() {
    @@ -95,9 +113,11 @@ 

    lit-element'my-element', MyElement);

    +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.

    @@ -107,9 +127,6 @@

    Globals -
  • - Internals -
  • "demo/ts-element"
  • @@ -123,18 +140,6 @@

    "lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -211,5 +216,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html index 206f9bc4..8055ad04 100644 --- a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html +++ b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html @@ -10,6 +10,17 @@ +
    @@ -134,7 +151,7 @@

    Optional fromAttribute
    @@ -166,7 +183,7 @@

    Optional toAttribute

  • @@ -199,9 +216,6 @@

    Returns string Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -215,18 +229,6 @@

    Returns string"lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -263,6 +265,9 @@

    Returns string PropertyValues +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -339,5 +344,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.haschanged.html b/docs/api/interfaces/_lib_updating_element_.haschanged.html index 9cefcb1b..881c216d 100644 --- a/docs/api/interfaces/_lib_updating_element_.haschanged.html +++ b/docs/api/interfaces/_lib_updating_element_.haschanged.html @@ -10,6 +10,17 @@ +
    @@ -99,7 +116,7 @@

    Callable

  • Parameters

    @@ -122,9 +139,6 @@

    Returns boolean Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -138,18 +152,6 @@

    Returns boolean"lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -178,6 +180,9 @@

    Returns boolean PropertyValues +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -254,5 +259,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html index 19716b15..1e908d42 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html @@ -10,6 +10,17 @@ +
    @@ -139,7 +156,7 @@

    Optional attribute

    attribute: boolean | string
    @@ -158,7 +175,7 @@

    Optional converter

    converter: AttributeConverter<Type, TypeHint>
    @@ -179,10 +196,10 @@

    Optional converter

    Optional noAccessor

    -
    noAccessor: undefined | false | true
    +
    noAccessor: undefined | true | false
    @@ -199,10 +216,10 @@

    Optional noAccessor

    Optional reflect

    -
    reflect: undefined | false | true
    +
    reflect: undefined | true | false
    @@ -221,7 +238,7 @@

    Optional type

    type: TypeHint
    @@ -245,7 +262,7 @@

    Optional hasChanged

  • @@ -276,9 +293,6 @@

    Returns boolean Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -292,18 +306,6 @@

    Returns boolean"lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -352,6 +354,9 @@

    Returns boolean PropertyValues +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -428,5 +433,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html index 3aa9676e..e0919e67 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html @@ -10,6 +10,17 @@ +
    @@ -117,9 +134,6 @@

    Indexable

  • Globals
  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -133,18 +147,6 @@

    Indexable

    "lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -173,6 +175,9 @@

    Indexable

  • PropertyValues
  • +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -249,5 +254,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/interfaces/_lit_element_.cssresultarray.html b/docs/api/interfaces/_lit_element_.cssresultarray.html new file mode 100644 index 00000000..7c9960ce --- /dev/null +++ b/docs/api/interfaces/_lit_element_.cssresultarray.html @@ -0,0 +1,2149 @@ + + + + + + CSSResultArray | lit-element + + + + + + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface CSSResultArray

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Indexable

    +
    [n: number]: CSSResult | CSSResultArray
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    Array

    +
    Array: ArrayConstructor
    + +
    +
    + +

    length

    +
    length: number
    + +
    +
    +

    Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.

    +
    +
    +
    +
    +
    +

    Methods

    +
    + +

    __@iterator

    + +
      +
    • + +
      +
      +

      Iterator

      +
      +
      +

      Returns IterableIterator<CSSResult | CSSResultArray>

      +
    • +
    +
    +
    + +

    __@unscopables

    +
      +
    • __@unscopables(): object
    • +
    +
      +
    • + +
      +
      +

      Returns an object whose properties have the value 'true' + when they will be absent when used in a 'with' statement.

      +
      +
      +

      Returns object

      +
        +
      +
    • +
    +
    +
    + +

    concat

    + +
      +
    • + +
      +
      +

      Combines two or more arrays.

      +
      +
      +

      Parameters

      + +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    • + +
      +
      +

      Combines two or more arrays.

      +
      +
      +

      Parameters

      +
        +
      • +
        Rest ...items: (T[] | T)[]
        +
        +

        Additional items to add to the end of array1.

        +
        +
      • +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    +
    +
    + +

    copyWithin

    +
      +
    • copyWithin(target: number, start: number, end?: undefined | number): this
    • +
    +
      +
    • + +
      +
      +

      Returns the this object after copying a section of the array identified by start and end + to the same array starting at position target

      +
      +
      +

      Parameters

      +
        +
      • +
        target: number
        +
        +

        If target is negative, it is treated as length+target where length is the + length of the array.

        +
        +
      • +
      • +
        start: number
        +
        +

        If start is negative, it is treated as length+start. If end is negative, it + is treated as length+end.

        +
        +
      • +
      • +
        Optional end: undefined | number
        +
        +

        If not specified, length of the this object is used as its default value.

        +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    entries

    + +
      +
    • + +
      +
      +

      Returns an iterable of key, value pairs for every entry in the array

      +
      +
      +

      Returns IterableIterator<[number, CSSResult | CSSResultArray]>

      +
    • +
    +
    +
    + +

    every

    +
      +
    • every(callbackfn: function, thisArg?: any): boolean
    • +
    +
      +
    • + +
      +
      +

      Determines whether all the members of an array satisfy the specified test.

      +
      +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    fill

    + +
      +
    • + +
      +
      +

      Returns the this object after filling the section identified by start and end with value

      +
      +
      +

      Parameters

      +
        +
      • +
        value: CSSResult | CSSResultArray
        +
        +

        value to fill array section with

        +
        +
      • +
      • +
        Optional start: undefined | number
        +
        +

        index to start filling the array at. If start is negative, it is treated as + length+start where length is the length of the array.

        +
        +
      • +
      • +
        Optional end: undefined | number
        +
        +

        index to stop filling the array at. If end is negative, it is treated as + length+end.

        +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    filter

    +
      +
    • filter<S>(callbackfn: function, thisArg?: any): S[]
    • +
    • filter(callbackfn: function, thisArg?: any): (CSSResult | CSSResultArray)[]
    • +
    +
      +
    • + +
      +
      +

      Returns the elements of an array that meet the condition specified in a callback function.

      +
      +
      +

      Type parameters

      + +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns S[]

      +
    • +
    • + +
      +
      +

      Returns the elements of an array that meet the condition specified in a callback function.

      +
      +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    +
    +
    + +

    find

    + +
      +
    • + +
      +
      +

      Returns the value of the first element in the array where predicate is true, and undefined + otherwise.

      +
      +
      +

      Parameters

      +
        +
      • +
        predicate: function
        +
        +

        find calls predicate once for each element of the array, in ascending + order, until it finds one where predicate returns true. If such an element is found, find + immediately returns that element value. Otherwise, find returns undefined.

        +
        + +
      • +
      +

      Returns CSSResult + | + CSSResultArray + | + undefined +

      +
    • +
    • + +

      Parameters

      + +

      Returns CSSResult + | + CSSResultArray + | + undefined +

      +
    • +
    • + +

      Type parameters

      +
        +
      • +

        Z

        +
      • +
      +

      Parameters

      + +

      Returns CSSResult + | + CSSResultArray + | + undefined +

      +
    • +
    +
    +
    + +

    findIndex

    +
      +
    • findIndex(predicate: function): number
    • +
    • findIndex(predicate: function, thisArg: undefined): number
    • +
    • findIndex<Z>(predicate: function, thisArg: Z): number
    • +
    +
      +
    • + +
      +
      +

      Returns the index of the first element in the array where predicate is true, and -1 + otherwise.

      +
      +
      +

      Parameters

      +
        +
      • +
        predicate: function
        +
        +

        find calls predicate once for each element of the array, in ascending + order, until it finds one where predicate returns true. If such an element is found, + findIndex immediately returns that element index. Otherwise, findIndex returns -1.

        +
        + +
      • +
      +

      Returns number

      +
    • +
    • + +

      Parameters

      + +

      Returns number

      +
    • +
    • + +

      Type parameters

      +
        +
      • +

        Z

        +
      • +
      +

      Parameters

      + +

      Returns number

      +
    • +
    +
    +
    + +

    forEach

    +
      +
    • forEach(callbackfn: function, thisArg?: any): void
    • +
    +
      +
    • + +
      +
      +

      Performs the specified action for each element in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns void

      +
    • +
    +
    +
    + +

    includes

    + +
      +
    • + +
      +
      +

      Determines whether an array includes a certain element, returning true or false as appropriate.

      +
      +
      +

      Parameters

      +
        +
      • +
        searchElement: CSSResult | CSSResultArray
        +
        +

        The element to search for.

        +
        +
      • +
      • +
        Optional fromIndex: undefined | number
        +
        +

        The position in this array at which to begin searching for searchElement.

        +
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    indexOf

    + +
      +
    • + +
      +
      +

      Returns the index of the first occurrence of a value in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        searchElement: CSSResult | CSSResultArray
        +
        +

        The value to locate in the array.

        +
        +
      • +
      • +
        Optional fromIndex: undefined | number
        +
        +

        The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.

        +
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    join

    +
      +
    • join(separator?: undefined | string): string
    • +
    +
      +
    • + +
      +
      +

      Adds all the elements of an array separated by the specified separator string.

      +
      +
      +

      Parameters

      +
        +
      • +
        Optional separator: undefined | string
        +
        +

        A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.

        +
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    keys

    +
      +
    • keys(): IterableIterator<number>
    • +
    +
      +
    • + +
      +
      +

      Returns an iterable of keys in the array

      +
      +
      +

      Returns IterableIterator<number>

      +
    • +
    +
    +
    + +

    lastIndexOf

    + +
      +
    • + +
      +
      +

      Returns the index of the last occurrence of a specified value in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        searchElement: CSSResult | CSSResultArray
        +
        +

        The value to locate in the array.

        +
        +
      • +
      • +
        Optional fromIndex: undefined | number
        +
        +

        The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.

        +
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    map

    +
      +
    • map<U>(callbackfn: function, thisArg?: any): U[]
    • +
    +
      +
    • + +
      +
      +

      Calls a defined callback function on each element of an array, and returns an array that contains the results.

      +
      +
      +

      Type parameters

      +
        +
      • +

        U

        +
      • +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns U[]

      +
    • +
    +
    +
    + +

    pop

    + +
      +
    • + +
      +
      +

      Removes the last element from an array and returns it.

      +
      +
      +

      Returns CSSResult + | + CSSResultArray + | + undefined +

      +
    • +
    +
    +
    + +

    push

    + +
      +
    • + +
      +
      +

      Appends new elements to an array, and returns the new length of the array.

      +
      +
      +

      Parameters

      + +

      Returns number

      +
    • +
    +
    +
    + +

    reduce

    +
      +
    • reduce(callbackfn: function, initialValue?: T): CSSResult | CSSResultArray
    • +
    • reduce<U>(callbackfn: function, initialValue: U): U
    • +
    +
      +
    • + +
      +
      +

      Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

      +
      +
      +

      Parameters

      + +

      Returns CSSResult + | + CSSResultArray +

      +
    • +
    • + +
      +
      +

      Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

      +
      +
      +

      Type parameters

      +
        +
      • +

        U

        +
      • +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        initialValue: U
        +
        +

        If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

        +
        +
      • +
      +

      Returns U

      +
    • +
    +
    +
    + +

    reduceRight

    +
      +
    • reduceRight(callbackfn: function, initialValue?: T): CSSResult | CSSResultArray
    • +
    • reduceRight<U>(callbackfn: function, initialValue: U): U
    • +
    +
      +
    • + +
      +
      +

      Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

      +
      +
      +

      Parameters

      + +

      Returns CSSResult + | + CSSResultArray +

      +
    • +
    • + +
      +
      +

      Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

      +
      +
      +

      Type parameters

      +
        +
      • +

        U

        +
      • +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

        +
        + +
      • +
      • +
        initialValue: U
        +
        +

        If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

        +
        +
      • +
      +

      Returns U

      +
    • +
    +
    +
    + +

    reverse

    + +
      +
    • + +
      +
      +

      Reverses the elements in an Array.

      +
      +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    +
    +
    + +

    shift

    + +
      +
    • + +
      +
      +

      Removes the first element from an array and returns it.

      +
      +
      +

      Returns CSSResult + | + CSSResultArray + | + undefined +

      +
    • +
    +
    +
    + +

    slice

    + +
      +
    • + +
      +
      +

      Returns a section of an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        Optional start: undefined | number
        +
        +

        The beginning of the specified portion of the array.

        +
        +
      • +
      • +
        Optional end: undefined | number
        +
        +

        The end of the specified portion of the array.

        +
        +
      • +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    +
    +
    + +

    some

    +
      +
    • some(callbackfn: function, thisArg?: any): boolean
    • +
    +
      +
    • + +
      +
      +

      Determines whether the specified callback function returns true for any element of an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        callbackfn: function
        +
        +

        A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.

        +
        + +
      • +
      • +
        Optional thisArg: any
        +
        +

        An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        +
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    sort

    +
      +
    • sort(compareFn?: undefined | function): this
    • +
    +
      +
    • + +
      +
      +

      Sorts an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        Optional compareFn: undefined | function
        +
        +

        The name of the function used to determine the order of the elements. If omitted, the elements are sorted in ascending, ASCII character order.

        +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    splice

    + +
      +
    • + +
      +
      +

      Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

      +
      +
      +

      Parameters

      +
        +
      • +
        start: number
        +
        +

        The zero-based location in the array from which to start removing elements.

        +
        +
      • +
      • +
        Optional deleteCount: undefined | number
        +
        +

        The number of elements to remove.

        +
        +
      • +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    • + +
      +
      +

      Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

      +
      +
      +

      Parameters

      +
        +
      • +
        start: number
        +
        +

        The zero-based location in the array from which to start removing elements.

        +
        +
      • +
      • +
        deleteCount: number
        +
        +

        The number of elements to remove.

        +
        +
      • +
      • +
        Rest ...items: (CSSResult | CSSResultArray)[]
        +
        +

        Elements to insert into the array in place of the deleted elements.

        +
        +
      • +
      +

      Returns (CSSResult | CSSResultArray)[]

      +
    • +
    +
    +
    + +

    toLocaleString

    +
      +
    • toLocaleString(): string
    • +
    +
      +
    • + +
      +
      +

      Returns a string representation of an array. The elements are converted to string using thier toLocalString methods.

      +
      +
      +

      Returns string

      +
    • +
    +
    +
    + +

    toString

    +
      +
    • toString(): string
    • +
    +
      +
    • + +
      +
      +

      Returns a string representation of an array.

      +
      +
      +

      Returns string

      +
    • +
    +
    +
    + +

    unshift

    + +
      +
    • + +
      +
      +

      Inserts new elements at the start of an array.

      +
      +
      +

      Parameters

      + +

      Returns number

      +
    • +
    +
    +
    + +

    values

    + +
      +
    • + +
      +
      +

      Returns an iterable of values in the array

      +
      +
      +

      Returns IterableIterator<CSSResult | CSSResultArray>

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + + \ No newline at end of file diff --git a/docs/api/modules/_demo_ts_element_.html b/docs/api/modules/_demo_ts_element_.html index 7e5ad8d5..6738be2f 100644 --- a/docs/api/modules/_demo_ts_element_.html +++ b/docs/api/modules/_demo_ts_element_.html @@ -10,6 +10,17 @@ +
    @@ -86,9 +103,6 @@

    External module "demo/ts-element"

  • Globals
  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -102,18 +116,6 @@

    External module "demo/ts-element"

    "lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -190,5 +192,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/modules/_lib_css_tag_.html b/docs/api/modules/_lib_css_tag_.html index 6d33ec6c..a57202fb 100644 --- a/docs/api/modules/_lib_css_tag_.html +++ b/docs/api/modules/_lib_css_tag_.html @@ -10,6 +10,17 @@ +
    @@ -108,11 +125,11 @@

    Functions

    Variables

    -

    Const supportsAdoptingStyleSheets

    +

    supportsAdoptingStyleSheets

    supportsAdoptingStyleSheets: boolean = ('adoptedStyleSheets' in Document.prototype)
    @@ -134,7 +151,7 @@

    Const supportsAdoptingS

    Functions

    -

    Const css

    +

    css

    @@ -142,7 +159,7 @@

    Const css

  • Parameters

    @@ -166,9 +183,6 @@

    Returns Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -182,18 +196,6 @@

    Returns "lib/updating-element"
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -279,5 +281,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/modules/_lib_decorators_.html b/docs/api/modules/_lib_decorators_.html index 31da5411..656d1bcb 100644 --- a/docs/api/modules/_lib_decorators_.html +++ b/docs/api/modules/_lib_decorators_.html @@ -10,6 +10,17 @@ +
    @@ -86,7 +103,7 @@

    Index

    Type aliases

    @@ -109,13 +126,13 @@

    Functions

    Type aliases

    -
    +

    Constructor

    Constructor: object
    @@ -129,11 +146,11 @@

    Type declaration

    Variables

    -

    Const query

    +

    query

    query: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelector(selector))
    @@ -145,11 +162,11 @@

    Const query

    -

    Const queryAll

    +

    queryAll

    queryAll: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelectorAll(selector))
    @@ -164,7 +181,7 @@

    Const queryAll

    Functions

    -

    Const customElement

    +

    customElement

    • customElement(tagName: string): (Anonymous function)
    @@ -172,7 +189,7 @@

    Const customElement

  • @@ -197,7 +214,8 @@
    tagName: string
    interface HTMLElementTagNameMap { 'my-element': MyElement; } -} +} +
  • @@ -208,7 +226,7 @@

    Returns (Anonymou

    -

    Const eventOptions

    +

    eventOptions

    • eventOptions(options: AddEventListenerOptions): any
    @@ -216,7 +234,7 @@

    Const eventOptions

  • @@ -245,7 +263,7 @@

    Returns any
    -

    Const property

    +

    property

    @@ -253,7 +271,7 @@

    Const property

  • @@ -262,6 +280,10 @@

    Const property

    corresponding attribute value. A PropertyDeclaration may optionally be supplied to configure property features.

    +
    +
    exportdecorateditems
    +
    +
  • Parameters

  • Functions

    +
    + +

    JSCompiler_renameProperty

    +
      +
    • JSCompiler_renameProperty(prop: PropertyKey, _obj: any): string | number | symbol
    • +
    +
      +
    • + +
      +
      +

      When using Closure Compiler, JSCompiler_renameProperty(property, object) is + replaced at compile time by the munged name for object[property]. We cannot + alias this function, so we have to use a small shim that has the same + behavior when not compiling.

      +
      +
      +

      Parameters

      +
        +
      • +
        prop: PropertyKey
        +
      • +
      • +
        _obj: any
        +
      • +
      +

      Returns string + | + number + | + symbol +

      +
    • +
    +
    -

    Const notEqual

    +

    notEqual

    • notEqual(value: unknown, old: unknown): boolean
    @@ -162,7 +219,7 @@

    Const notEqual

  • @@ -189,11 +246,11 @@

    Returns booleanObject literals

    -

    Const defaultConverter

    +

    defaultConverter

    defaultConverter: object
    @@ -206,7 +263,7 @@

    fromAttribute

  • Parameters

    @@ -232,7 +289,7 @@

    toAttribute

  • Parameters

    @@ -257,9 +314,6 @@

    Returns any Globals

  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -273,18 +327,6 @@

    Returns any"lib/updating-element"

  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • "lit-element"
  • @@ -309,6 +351,9 @@

    Returns any PropertyValues +
  • + JSCompiler_renameProperty +
  • notEqual
  • @@ -385,5 +430,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/modules/_lit_element_.html b/docs/api/modules/_lit_element_.html index 79e601b5..0916b4da 100644 --- a/docs/api/modules/_lit_element_.html +++ b/docs/api/modules/_lit_element_.html @@ -10,6 +10,17 @@ +
    @@ -83,10 +100,16 @@

    External module "lit-element"

    Index

    -
    +

    Classes

    +
    +
    +

    Interfaces

    +
    @@ -99,9 +122,6 @@

    Classes

  • Globals
  • -
  • - Internals -
  • "demo/ts-element"
  • @@ -114,28 +134,19 @@

    Classes

  • "lib/updating-element"
  • -
  • - "test/lit-element_styling_test" -
  • -
  • - "test/lit-element_test" -
  • -
  • - "test/test-helpers" -
  • -
  • - Externals -
  • -
  • +
  • "lit-element"
  • @@ -206,5 +217,20 @@

    Legend

    + \ No newline at end of file diff --git a/docs/api/modules/_test_lit_element_styling_test_.html b/docs/api/modules/_test_lit_element_styling_test_.html deleted file mode 100644 index 68466894..00000000 --- a/docs/api/modules/_test_lit_element_styling_test_.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - "test/lit-element_styling_test" | lit-element - - - - - - - - - -
    -
    -
    -
    - -
    -
    - Options -
    -
    - All -
      -
    • Public
    • -
    • Public/Protected
    • -
    • All
    • -
    -
    - - - - -
    -
    - Menu -
    -
    -
    -
    -
    -
    - -

    External module "test/lit-element_styling_test"

    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -

    Legend

    -
    -
      -
    • Module
    • -
    • Object literal
    • -
    • Variable
    • -
    • Function
    • -
    • Function with type parameter
    • -
    • Index signature
    • -
    • Type alias
    • -
    -
      -
    • Enumeration
    • -
    • Enumeration member
    • -
    • Property
    • -
    • Method
    • -
    -
      -
    • Interface
    • -
    • Interface with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Index signature
    • -
    -
      -
    • Class
    • -
    • Class with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Accessor
    • -
    • Index signature
    • -
    -
      -
    • Inherited constructor
    • -
    • Inherited property
    • -
    • Inherited method
    • -
    • Inherited accessor
    • -
    -
      -
    • Protected property
    • -
    • Protected method
    • -
    • Protected accessor
    • -
    -
      -
    • Private property
    • -
    • Private method
    • -
    • Private accessor
    • -
    -
      -
    • Static property
    • -
    • Static method
    • -
    -
    -
    -
    -
    -

    Generated using TypeDoc

    -
    -
    - - - - \ No newline at end of file diff --git a/docs/api/modules/_test_lit_element_test_.html b/docs/api/modules/_test_lit_element_test_.html deleted file mode 100644 index a0b88247..00000000 --- a/docs/api/modules/_test_lit_element_test_.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - "test/lit-element_test" | lit-element - - - - - - - - - -
    -
    -
    -
    - -
    -
    - Options -
    -
    - All -
      -
    • Public
    • -
    • Public/Protected
    • -
    • All
    • -
    -
    - - - - -
    -
    - Menu -
    -
    -
    -
    -
    -
    - -

    External module "test/lit-element_test"

    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -

    Legend

    -
    -
      -
    • Module
    • -
    • Object literal
    • -
    • Variable
    • -
    • Function
    • -
    • Function with type parameter
    • -
    • Index signature
    • -
    • Type alias
    • -
    -
      -
    • Enumeration
    • -
    • Enumeration member
    • -
    • Property
    • -
    • Method
    • -
    -
      -
    • Interface
    • -
    • Interface with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Index signature
    • -
    -
      -
    • Class
    • -
    • Class with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Accessor
    • -
    • Index signature
    • -
    -
      -
    • Inherited constructor
    • -
    • Inherited property
    • -
    • Inherited method
    • -
    • Inherited accessor
    • -
    -
      -
    • Protected property
    • -
    • Protected method
    • -
    • Protected accessor
    • -
    -
      -
    • Private property
    • -
    • Private method
    • -
    • Private accessor
    • -
    -
      -
    • Static property
    • -
    • Static method
    • -
    -
    -
    -
    -
    -

    Generated using TypeDoc

    -
    -
    - - - - \ No newline at end of file diff --git a/docs/api/modules/_test_test_helpers_.html b/docs/api/modules/_test_test_helpers_.html deleted file mode 100644 index a00cca13..00000000 --- a/docs/api/modules/_test_test_helpers_.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - "test/test-helpers" | lit-element - - - - - - - - - -
    -
    -
    -
    - -
    -
    - Options -
    -
    - All -
      -
    • Public
    • -
    • Public/Protected
    • -
    • All
    • -
    -
    - - - - -
    -
    - Menu -
    -
    -
    -
    -
    -
    - -

    External module "test/test-helpers"

    -
    -
    -
    -
    -
    -
    -
    -

    Index

    -
    - -
    -
    -
    -

    Functions

    -
    - -

    Const generateElementName

    -
      -
    • generateElementName(): string
    • -
    - -
    -
    - -

    Const getComputedStyleValue

    -
      -
    • getComputedStyleValue(element: Element, property: string): any
    • -
    -
      -
    • - -

      Parameters

      -
        -
      • -
        element: Element
        -
      • -
      • -
        property: string
        -
      • -
      -

      Returns any

      -
    • -
    -
    -
    - -

    Const nextFrame

    -
      -
    • nextFrame(): Promise<Object>
    • -
    - -
    -
    - -

    Const stripExpressionDelimeters

    -
      -
    • stripExpressionDelimeters(html: string): string
    • -
    - -
    -
    -
    - -
    -
    -
    -
    -

    Legend

    -
    -
      -
    • Module
    • -
    • Object literal
    • -
    • Variable
    • -
    • Function
    • -
    • Function with type parameter
    • -
    • Index signature
    • -
    • Type alias
    • -
    -
      -
    • Enumeration
    • -
    • Enumeration member
    • -
    • Property
    • -
    • Method
    • -
    -
      -
    • Interface
    • -
    • Interface with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Index signature
    • -
    -
      -
    • Class
    • -
    • Class with type parameter
    • -
    • Constructor
    • -
    • Property
    • -
    • Method
    • -
    • Accessor
    • -
    • Index signature
    • -
    -
      -
    • Inherited constructor
    • -
    • Inherited property
    • -
    • Inherited method
    • -
    • Inherited accessor
    • -
    -
      -
    • Protected property
    • -
    • Protected method
    • -
    • Protected accessor
    • -
    -
      -
    • Private property
    • -
    • Private method
    • -
    • Private accessor
    • -
    -
      -
    • Static property
    • -
    • Static method
    • -
    -
    -
    -
    -
    -

    Generated using TypeDoc

    -
    -
    - - - - \ No newline at end of file From 517f2a55c515ad0d69e33d5110c35af950d620c2 Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Mon, 28 Jan 2019 14:07:09 -0800 Subject: [PATCH 3/4] Docs search: encodeURIComponent and analytics --- docs/_api/theme/layouts/default.hbs | 3 +- docs/_includes/analytics.html | 12 +++-- docs/_layouts/default.html | 3 +- docs/api/classes/_lib_css_tag_.cssresult.html | 11 +++-- ...lib_updating_element_.updatingelement.html | 37 +++++++------- .../api/classes/_lit_element_.litelement.html | 49 ++++++++++--------- docs/api/globals.html | 3 +- docs/api/index.html | 3 +- ...ng_element_.complexattributeconverter.html | 7 +-- .../_lib_updating_element_.haschanged.html | 5 +- ...updating_element_.propertydeclaration.html | 15 +++--- ...pdating_element_.propertydeclarations.html | 3 +- .../_lit_element_.cssresultarray.html | 3 +- docs/api/modules/_demo_ts_element_.html | 3 +- docs/api/modules/_lib_css_tag_.html | 7 +-- docs/api/modules/_lib_decorators_.html | 15 +++--- docs/api/modules/_lib_updating_element_.html | 15 +++--- docs/api/modules/_lit_element_.html | 3 +- 18 files changed, 108 insertions(+), 89 deletions(-) diff --git a/docs/_api/theme/layouts/default.hbs b/docs/_api/theme/layouts/default.hbs index 008f7f78..0485fcd8 100644 --- a/docs/_api/theme/layouts/default.hbs +++ b/docs/_api/theme/layouts/default.hbs @@ -82,7 +82,8 @@ searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/_includes/analytics.html b/docs/_includes/analytics.html index 1735eadf..d50b8371 100644 --- a/docs/_includes/analytics.html +++ b/docs/_includes/analytics.html @@ -1,7 +1,9 @@ - diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 567f3ea7..52278f67 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -41,7 +41,8 @@ searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/classes/_lib_css_tag_.cssresult.html b/docs/api/classes/_lib_css_tag_.cssresult.html index fbcc46ef..46bf9148 100644 --- a/docs/api/classes/_lib_css_tag_.cssresult.html +++ b/docs/api/classes/_lib_css_tag_.cssresult.html @@ -145,7 +145,7 @@

    constructor

  • Parameters

    @@ -167,7 +167,7 @@

    Optional _styleSheet

    _styleSheet: CSSStyleSheet | null
  • @@ -177,7 +177,7 @@

    cssText

    cssText: string
    @@ -194,7 +194,7 @@

    styleSheet

  • Returns CSSStyleSheet @@ -332,7 +332,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/classes/_lib_updating_element_.updatingelement.html b/docs/api/classes/_lib_updating_element_.updatingelement.html index b876d22f..88d97a6b 100644 --- a/docs/api/classes/_lib_updating_element_.updatingelement.html +++ b/docs/api/classes/_lib_updating_element_.updatingelement.html @@ -185,7 +185,7 @@

    constructor

  • Returns UpdatingElement

    @@ -201,7 +201,7 @@

    Static finalized: boolean = true

  • @@ -216,7 +216,7 @@

    Static properties

    @@ -239,7 +239,7 @@

    Protected hasUpdated

    Returns number

    @@ -256,7 +256,7 @@

    updateComplete

  • @@ -286,7 +286,7 @@

    Static observedAttributes
    @@ -315,7 +315,7 @@

    attributeChangedCallback

  • @@ -349,7 +349,7 @@

    connectedCallback

  • Returns void

    @@ -366,7 +366,7 @@

    disconnectedCallback

  • @@ -390,7 +390,7 @@

    Protected firstUpdated
    @@ -424,7 +424,7 @@

    Protected initialize

  • @@ -447,7 +447,7 @@

    Protected performUpdate<
  • @@ -479,7 +479,7 @@

    requestUpdate

  • @@ -523,7 +523,7 @@

    Protected shouldUpdate
    @@ -556,7 +556,7 @@

    Protected update

  • @@ -590,7 +590,7 @@

    Protected updated

  • @@ -624,7 +624,7 @@

    Static createProperty

  • @@ -837,7 +837,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/classes/_lit_element_.litelement.html b/docs/api/classes/_lit_element_.litelement.html index abcaf79f..f8753e22 100644 --- a/docs/api/classes/_lit_element_.litelement.html +++ b/docs/api/classes/_lit_element_.litelement.html @@ -175,7 +175,7 @@

    constructor

    Returns LitElement

    @@ -191,7 +191,7 @@

    Protected renderRoot: Element | DocumentFragment

    @@ -208,7 +208,7 @@

    Static

    Overrides UpdatingElement.finalized

    @@ -225,7 +225,7 @@

    Static properties

    @@ -241,7 +241,7 @@

    Static render

    render: function = render
    @@ -297,7 +297,7 @@

    Static styles: CSSResult | CSSResultArray

    @@ -321,7 +321,7 @@

    Protected hasUpdated

    Inherited from UpdatingElement.hasUpdated

    Returns number

    @@ -339,7 +339,7 @@

    updateComplete

    @@ -370,7 +370,7 @@

    Static observedAttributes

    Inherited from UpdatingElement.observedAttributes

    @@ -399,7 +399,7 @@

    Protected adoptStyles
    @@ -428,7 +428,7 @@

    attributeChangedCallback

    @@ -463,7 +463,7 @@

    connectedCallback

    Returns void

    @@ -480,7 +480,7 @@

    Protected createRender
    @@ -510,7 +510,7 @@

    disconnectedCallback

    @@ -535,7 +535,7 @@

    Protected firstUpdated

    Inherited from UpdatingElement.firstUpdated

    @@ -570,7 +570,7 @@

    Protected initialize

    @@ -595,7 +595,7 @@

    Protected performUpdate<
    @@ -627,7 +627,7 @@

    Protected render

  • @@ -655,7 +655,7 @@

    requestUpdate

    @@ -700,7 +700,7 @@

    Protected shouldUpdate

    Inherited from UpdatingElement.shouldUpdate

    @@ -734,7 +734,7 @@

    Protected update

    @@ -768,7 +768,7 @@

    Protected updated

    @@ -803,7 +803,7 @@

    Static createProperty

    @@ -1013,7 +1013,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/globals.html b/docs/api/globals.html index a05b8264..b936eb0e 100644 --- a/docs/api/globals.html +++ b/docs/api/globals.html @@ -210,7 +210,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/index.html b/docs/api/index.html index 7a8d3326..3951b46b 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -220,7 +220,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html index 8055ad04..a43f0e95 100644 --- a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html +++ b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html @@ -151,7 +151,7 @@

    Optional fromAttribute
    @@ -183,7 +183,7 @@

    Optional toAttribute

  • @@ -348,7 +348,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/interfaces/_lib_updating_element_.haschanged.html b/docs/api/interfaces/_lib_updating_element_.haschanged.html index 881c216d..a960fd84 100644 --- a/docs/api/interfaces/_lib_updating_element_.haschanged.html +++ b/docs/api/interfaces/_lib_updating_element_.haschanged.html @@ -116,7 +116,7 @@

    Callable

  • Parameters

    @@ -263,7 +263,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html index 1e908d42..7524b9a2 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html @@ -156,7 +156,7 @@

    Optional attribute

    attribute: boolean | string
    @@ -175,7 +175,7 @@

    Optional converter

    converter: AttributeConverter<Type, TypeHint>
    @@ -199,7 +199,7 @@

    Optional noAccessor

    noAccessor: undefined | true | false
    @@ -219,7 +219,7 @@

    Optional reflect

    reflect: undefined | true | false
    @@ -238,7 +238,7 @@

    Optional type

    type: TypeHint
    @@ -262,7 +262,7 @@

    Optional hasChanged

  • @@ -437,7 +437,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html index e0919e67..7e6669a6 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html @@ -258,7 +258,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/interfaces/_lit_element_.cssresultarray.html b/docs/api/interfaces/_lit_element_.cssresultarray.html index 7c9960ce..3c2668f9 100644 --- a/docs/api/interfaces/_lit_element_.cssresultarray.html +++ b/docs/api/interfaces/_lit_element_.cssresultarray.html @@ -2134,7 +2134,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/modules/_demo_ts_element_.html b/docs/api/modules/_demo_ts_element_.html index 6738be2f..5f90ed99 100644 --- a/docs/api/modules/_demo_ts_element_.html +++ b/docs/api/modules/_demo_ts_element_.html @@ -196,7 +196,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/modules/_lib_css_tag_.html b/docs/api/modules/_lib_css_tag_.html index a57202fb..ad8c7ca7 100644 --- a/docs/api/modules/_lib_css_tag_.html +++ b/docs/api/modules/_lib_css_tag_.html @@ -129,7 +129,7 @@

    supportsAdoptingStyleSheets

    supportsAdoptingStyleSheets: boolean = ('adoptedStyleSheets' in Document.prototype)
    @@ -159,7 +159,7 @@

    css

  • Parameters

    @@ -285,7 +285,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/modules/_lib_decorators_.html b/docs/api/modules/_lib_decorators_.html index 656d1bcb..8ef06686 100644 --- a/docs/api/modules/_lib_decorators_.html +++ b/docs/api/modules/_lib_decorators_.html @@ -132,7 +132,7 @@

    Constructor

    Constructor: object
    @@ -150,7 +150,7 @@

    query

    query: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelector(selector))
    @@ -166,7 +166,7 @@

    queryAll

    queryAll: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelectorAll(selector))
    @@ -189,7 +189,7 @@

    customElement

  • @@ -234,7 +234,7 @@

    eventOptions

  • @@ -271,7 +271,7 @@

    property

  • @@ -414,7 +414,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/modules/_lib_updating_element_.html b/docs/api/modules/_lib_updating_element_.html index 7284f2e8..b84fb59e 100644 --- a/docs/api/modules/_lib_updating_element_.html +++ b/docs/api/modules/_lib_updating_element_.html @@ -163,7 +163,7 @@

    PropertyValues

    PropertyValues: Map<PropertyKey, unknown>
  • @@ -180,7 +180,7 @@

    JSCompiler_renameProperty

  • @@ -219,7 +219,7 @@

    notEqual

  • @@ -250,7 +250,7 @@

    defaultConverter

    defaultConverter: object
    @@ -263,7 +263,7 @@

    fromAttribute

  • Parameters

    @@ -289,7 +289,7 @@

    toAttribute

  • Parameters

    @@ -434,7 +434,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } diff --git a/docs/api/modules/_lit_element_.html b/docs/api/modules/_lit_element_.html index 0916b4da..77da0b33 100644 --- a/docs/api/modules/_lit_element_.html +++ b/docs/api/modules/_lit_element_.html @@ -221,7 +221,8 @@

    Legend

    searchBox.addEventListener('keypress', function(event) { if (event.keyCode === 13 /* enter */) { const site = window.location.hostname; - const query = searchBox.value; + const query = encodeURIComponent(searchBox.value); + ga('send', 'pageview', '/search?q='+query); window.location = 'https://www.google.com/search?q=site%3A'+site+'+'+query; event.preventDefault(); } From 718ed54eef8a2f3ad77692985c998f7be6ef830c Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Mon, 28 Jan 2019 14:10:07 -0800 Subject: [PATCH 4/4] Add analytics to TypeDoc output --- docs/api/classes/_lib_css_tag_.cssresult.html | 17 ++++-- ...lib_updating_element_.updatingelement.html | 43 +++++++++------ .../api/classes/_lit_element_.litelement.html | 55 +++++++++++-------- docs/api/globals.html | 9 +++ docs/api/index.html | 9 +++ ...ng_element_.complexattributeconverter.html | 13 ++++- .../_lib_updating_element_.haschanged.html | 11 +++- ...updating_element_.propertydeclaration.html | 21 +++++-- ...pdating_element_.propertydeclarations.html | 9 +++ .../_lit_element_.cssresultarray.html | 9 +++ docs/api/modules/_demo_ts_element_.html | 9 +++ docs/api/modules/_lib_css_tag_.html | 13 ++++- docs/api/modules/_lib_decorators_.html | 21 +++++-- docs/api/modules/_lib_updating_element_.html | 21 +++++-- docs/api/modules/_lit_element_.html | 9 +++ package.json | 2 +- 16 files changed, 203 insertions(+), 68 deletions(-) diff --git a/docs/api/classes/_lib_css_tag_.cssresult.html b/docs/api/classes/_lib_css_tag_.cssresult.html index 46bf9148..9d453969 100644 --- a/docs/api/classes/_lib_css_tag_.cssresult.html +++ b/docs/api/classes/_lib_css_tag_.cssresult.html @@ -145,7 +145,7 @@

    constructor

  • Parameters

    @@ -167,7 +167,7 @@

    Optional _styleSheet

    _styleSheet: CSSStyleSheet | null
  • @@ -177,7 +177,7 @@

    cssText

    cssText: string
  • @@ -194,7 +194,7 @@

    styleSheet

  • Returns CSSStyleSheet @@ -344,5 +344,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/classes/_lib_updating_element_.updatingelement.html b/docs/api/classes/_lib_updating_element_.updatingelement.html index 88d97a6b..07eef13c 100644 --- a/docs/api/classes/_lib_updating_element_.updatingelement.html +++ b/docs/api/classes/_lib_updating_element_.updatingelement.html @@ -185,7 +185,7 @@

    constructor

  • Returns UpdatingElement

    @@ -201,7 +201,7 @@

    Static finalized: boolean = true

  • @@ -216,7 +216,7 @@

    Static properties

    @@ -239,7 +239,7 @@

    Protected hasUpdated

    Returns number

    @@ -256,7 +256,7 @@

    updateComplete

  • @@ -286,7 +286,7 @@

    Static observedAttributes
    @@ -315,7 +315,7 @@

    attributeChangedCallback

  • @@ -349,7 +349,7 @@

    connectedCallback

  • Returns void

    @@ -366,7 +366,7 @@

    disconnectedCallback

  • @@ -390,7 +390,7 @@

    Protected firstUpdated
    @@ -424,7 +424,7 @@

    Protected initialize

  • @@ -447,7 +447,7 @@

    Protected performUpdate<
  • @@ -479,7 +479,7 @@

    requestUpdate

  • @@ -523,7 +523,7 @@

    Protected shouldUpdate
    @@ -556,7 +556,7 @@

    Protected update

  • @@ -590,7 +590,7 @@

    Protected updated

  • @@ -624,7 +624,7 @@

    Static createProperty

  • @@ -849,5 +849,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/classes/_lit_element_.litelement.html b/docs/api/classes/_lit_element_.litelement.html index f8753e22..38759061 100644 --- a/docs/api/classes/_lit_element_.litelement.html +++ b/docs/api/classes/_lit_element_.litelement.html @@ -175,7 +175,7 @@

    constructor

    Returns LitElement

    @@ -191,7 +191,7 @@

    Protected renderRoot: Element | DocumentFragment

    @@ -208,7 +208,7 @@

    Static

    Overrides UpdatingElement.finalized

    @@ -225,7 +225,7 @@

    Static properties

    @@ -241,7 +241,7 @@

    Static render

    render: function = render
    @@ -297,7 +297,7 @@

    Static styles: CSSResult | CSSResultArray

    @@ -321,7 +321,7 @@

    Protected hasUpdated

    Inherited from UpdatingElement.hasUpdated

    Returns number

    @@ -339,7 +339,7 @@

    updateComplete

    @@ -370,7 +370,7 @@

    Static observedAttributes

    Inherited from UpdatingElement.observedAttributes

    @@ -399,7 +399,7 @@

    Protected adoptStyles
    @@ -428,7 +428,7 @@

    attributeChangedCallback

    @@ -463,7 +463,7 @@

    connectedCallback

    Returns void

    @@ -480,7 +480,7 @@

    Protected createRender
    @@ -510,7 +510,7 @@

    disconnectedCallback

    @@ -535,7 +535,7 @@

    Protected firstUpdated

    Inherited from UpdatingElement.firstUpdated

    @@ -570,7 +570,7 @@

    Protected initialize

    @@ -595,7 +595,7 @@

    Protected performUpdate<
    @@ -627,7 +627,7 @@

    Protected render

  • @@ -655,7 +655,7 @@

    requestUpdate

    @@ -700,7 +700,7 @@

    Protected shouldUpdate

    Inherited from UpdatingElement.shouldUpdate

    @@ -734,7 +734,7 @@

    Protected update

    @@ -768,7 +768,7 @@

    Protected updated

    @@ -803,7 +803,7 @@

    Static createProperty

    @@ -1025,5 +1025,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/globals.html b/docs/api/globals.html index b936eb0e..de55ee9b 100644 --- a/docs/api/globals.html +++ b/docs/api/globals.html @@ -222,5 +222,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html index 3951b46b..9c8a48cd 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -232,5 +232,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html index a43f0e95..3e3208c2 100644 --- a/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html +++ b/docs/api/interfaces/_lib_updating_element_.complexattributeconverter.html @@ -151,7 +151,7 @@

    Optional fromAttribute
    @@ -183,7 +183,7 @@

    Optional toAttribute

  • @@ -360,5 +360,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.haschanged.html b/docs/api/interfaces/_lib_updating_element_.haschanged.html index a960fd84..f0c4305a 100644 --- a/docs/api/interfaces/_lib_updating_element_.haschanged.html +++ b/docs/api/interfaces/_lib_updating_element_.haschanged.html @@ -116,7 +116,7 @@

    Callable

  • Parameters

    @@ -275,5 +275,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html index 7524b9a2..b0740520 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclaration.html @@ -156,7 +156,7 @@

    Optional attribute

    attribute: boolean | string
    @@ -175,7 +175,7 @@

    Optional converter

    converter: AttributeConverter<Type, TypeHint>
    @@ -199,7 +199,7 @@

    Optional noAccessor

    noAccessor: undefined | true | false
    @@ -219,7 +219,7 @@

    Optional reflect

    reflect: undefined | true | false
    @@ -238,7 +238,7 @@

    Optional type

    type: TypeHint
    @@ -262,7 +262,7 @@

    Optional hasChanged

  • @@ -449,5 +449,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html index 7e6669a6..4c23d0dd 100644 --- a/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html +++ b/docs/api/interfaces/_lib_updating_element_.propertydeclarations.html @@ -270,5 +270,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/interfaces/_lit_element_.cssresultarray.html b/docs/api/interfaces/_lit_element_.cssresultarray.html index 3c2668f9..329c08a2 100644 --- a/docs/api/interfaces/_lit_element_.cssresultarray.html +++ b/docs/api/interfaces/_lit_element_.cssresultarray.html @@ -2146,5 +2146,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/modules/_demo_ts_element_.html b/docs/api/modules/_demo_ts_element_.html index 5f90ed99..3d87cc1a 100644 --- a/docs/api/modules/_demo_ts_element_.html +++ b/docs/api/modules/_demo_ts_element_.html @@ -208,5 +208,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/modules/_lib_css_tag_.html b/docs/api/modules/_lib_css_tag_.html index ad8c7ca7..aca781be 100644 --- a/docs/api/modules/_lib_css_tag_.html +++ b/docs/api/modules/_lib_css_tag_.html @@ -129,7 +129,7 @@

    supportsAdoptingStyleSheets

    supportsAdoptingStyleSheets: boolean = ('adoptedStyleSheets' in Document.prototype)
    @@ -159,7 +159,7 @@

    css

  • Parameters

    @@ -297,5 +297,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/modules/_lib_decorators_.html b/docs/api/modules/_lib_decorators_.html index 8ef06686..4289464d 100644 --- a/docs/api/modules/_lib_decorators_.html +++ b/docs/api/modules/_lib_decorators_.html @@ -132,7 +132,7 @@

    Constructor

    Constructor: object
    @@ -150,7 +150,7 @@

    query

    query: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelector(selector))
    @@ -166,7 +166,7 @@

    queryAll

    queryAll: (Anonymous function) = _query((target: NodeSelector, selector: string) =>target.querySelectorAll(selector))
    @@ -189,7 +189,7 @@

    customElement

  • @@ -234,7 +234,7 @@

    eventOptions

  • @@ -271,7 +271,7 @@

    property

  • @@ -426,5 +426,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/modules/_lib_updating_element_.html b/docs/api/modules/_lib_updating_element_.html index b84fb59e..6d62bd22 100644 --- a/docs/api/modules/_lib_updating_element_.html +++ b/docs/api/modules/_lib_updating_element_.html @@ -163,7 +163,7 @@

    PropertyValues

    PropertyValues: Map<PropertyKey, unknown>
  • @@ -180,7 +180,7 @@

    JSCompiler_renameProperty

  • @@ -219,7 +219,7 @@

    notEqual

  • @@ -250,7 +250,7 @@

    defaultConverter

    defaultConverter: object
    @@ -263,7 +263,7 @@

    fromAttribute

  • Parameters

    @@ -289,7 +289,7 @@

    toAttribute

  • Parameters

    @@ -446,5 +446,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/docs/api/modules/_lit_element_.html b/docs/api/modules/_lit_element_.html index 77da0b33..dabe8d64 100644 --- a/docs/api/modules/_lit_element_.html +++ b/docs/api/modules/_lit_element_.html @@ -233,5 +233,14 @@

    Legend

    event.stopPropagation(); }); + \ No newline at end of file diff --git a/package.json b/package.json index 2c72d4c9..8b4aebba 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "scripts": { "build": "tsc", "build:babel-test": "babel src/test/lib/decorators_test.ts --out-file test/lib/decorators-babel_test.js", - "gen-docs": "typedoc --readme docs/_api/api-readme.md --tsconfig tsconfig_apidoc.json --mode modules --theme docs/_api/theme --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude '{**/*test*,**/node_modules/**,**/test/**}' --out ./docs/api src/**/*.ts", + "gen-docs": "typedoc --readme docs/_api/api-readme.md --tsconfig tsconfig_apidoc.json --mode modules --theme docs/_api/theme --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude '{**/*test*,**/node_modules/**,**/test/**}' --out ./docs/api --gaID UA-39334307-23 src/**/*.ts", "test": "npm run build && npm run build:babel-test && wct", "checksize": "rollup -c ; rm lit-element.bundled.js", "format": "find src test | grep '\\.js$\\|\\.ts$' | xargs clang-format --style=file -i",