Skip to content

Commit

Permalink
[ci skip] Fix documentation in PropertyAccessors
Browse files Browse the repository at this point in the history
Function to enable accessors is `_enableProperties`, and should be
called in the `connectedCallback`
  • Loading branch information
dfreedm committed Jul 19, 2017
1 parent 7ca8e20 commit 0f695d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mixins/property-accessors.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
* the standard `static get observedAttributes()`, implement `_propertiesChanged`
* on the class, and then call `MyClass.createPropertiesForAttributes()` once
* on the class to generate property accessors for each observed attribute
* prior to instancing. Last, call `this._flushProperties()` once to enable
* the accessors.
* prior to instancing. Last, call `this._enableProperties()` in the element's
* `connectedCallback` to enable the accessors.
*
* Any `observedAttributes` will automatically be
* deserialized via `attributeChangedCallback` and set to the associated
Expand Down

0 comments on commit 0f695d9

Please sign in to comment.