mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-04-02 20:15:53 +02:00
* :tap: removed on.attributeChanged and static observedAttributes * ⚡ import optimalization * ⚡ scope.signal * 🔤 🐛 * ⚡ 🐛 registerReactivity and types * 🔤 * ⚡ * 🔤 * 🐛 Node in enviroment * ⚡ todos * ⚡ * ⚡ 🔤 * ⚡ lint * ⚡ memo * 🔤 🐛 memo * ⚡ 🔤 todomvc * 🐛 types * 🔤 p08 signal factory * 🔤 ⚡ types * ⚡ 🔤 lint * 🔤 * 🔤 * 🔤 * 🔤 * 📺
24 lines
658 B
JavaScript
24 lines
658 B
JavaScript
import { el } from "deka-dom-el";
|
|
import { mnemonicUl } from "../mnemonicUl.html.js";
|
|
|
|
export function mnemonic(){
|
|
return mnemonicUl().append(
|
|
el("li").append(
|
|
el("code", "el(<function>, <function-argument(s)>)[.append(...)]: <element-returned-by-function>"),
|
|
" — using component represented by function",
|
|
),
|
|
el("li").append(
|
|
el("code", "scope.host()"),
|
|
" — get current component reference"
|
|
),
|
|
el("li").append(
|
|
el("code", "scope.host(...<addons>)"),
|
|
" — use addons to current component",
|
|
),
|
|
el("li").append(
|
|
el("code", "scope.signal"),
|
|
" — get AbortSignal that triggers when the element disconnects",
|
|
)
|
|
);
|
|
}
|