You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first prototype of an asynchronous context implementation works quite good in production.
Though it isn't feature complete.
Multiple contexts
classAXAFooextendsBaseComponentGlobal{constructor(){super();this.enableContext();}}classAXABarextendsBaseComponentGlobal{constructor(){super();this.enableContext();}}classAXABazextendsBaseComponentGlobal{constructor(){super(stylesSticky,templateSticky);this.selectContext('axa-foo','axa-bar');}connectedCallback(){super.connectedCallback();}contextCallback(contextNode){// nodeName ist the context's name/keyconst{ nodeName }=contextNode;}}
Share contextual Data (not just a contextNode)
Contextual Lifecycle methods
contextConnectedCallback (just a proposed rename of contextCallback)
contextChangedCallback
contextDisconnectedCallback
The text was updated successfully, but these errors were encountered:
The first prototype of an asynchronous context implementation works quite good in production.
Though it isn't feature complete.
contextNode
)contextConnectedCallback
(just a proposed rename ofcontextCallback
)contextChangedCallback
contextDisconnectedCallback
The text was updated successfully, but these errors were encountered: