Lifecycle
update
The update
method notifies the component to trigger an update cycle immediately. It is called internally at the end of the current task if any of the properties' values have changed - it shouldn't need to be called manually.
To request a manual update use requestUpdate
which will queue a manual update at the end of the current task, along with any pending updates.
Next: requestUpdate
Previous: attributeChangedCallback