import { el } from "deka-dom-el"; import { mnemonicUl } from "../mnemonicUl.html.js"; export function mnemonic(){ return mnemonicUl().append( el("li").append( el("code", "customElementRender(, [, ])"), " — use function to render DOM structure for given ", ), el("li").append( el("code", "customElementWithDDE()"), " — register to DDE library, see also `lifecycleToEvents`, can be also used as decorator", ), el("li").append( el("code", "observedAttributes()"), " — returns record of observed attributes (keys uses camelCase)", ), el("li").append( el("code", "O.observedAttributes()"), " — returns record of observed attributes (keys uses camelCase and values are observables)", ), el("li").append( el("code", "lifecycleToEvents()"), " — convert lifecycle methods to events, can be also used as decorator", ) ); }