2023-11-30 17:05:19 +01:00
|
|
|
import { el } from "deka-dom-el";
|
|
|
|
import { mnemonicUl } from "../mnemonicUl.html.js";
|
|
|
|
|
|
|
|
export function mnemonic(){
|
|
|
|
return mnemonicUl().append(
|
|
|
|
el("li").append(
|
2024-11-22 16:26:42 +01:00
|
|
|
el("code", "el(<function>, <function-argument(s)>)[.append(...)]: <element-returned-by-function>"),
|
|
|
|
" — using component represented by function",
|
2023-11-30 17:05:19 +01:00
|
|
|
),
|
|
|
|
el("li").append(
|
2024-11-22 16:26:42 +01:00
|
|
|
el("code", "scope.host()"),
|
|
|
|
" — get current component reference"
|
2023-11-30 17:05:19 +01:00
|
|
|
),
|
|
|
|
el("li").append(
|
2024-11-22 16:26:42 +01:00
|
|
|
el("code", "scope.host(...<addons>)"),
|
|
|
|
" — use addons to current component",
|
2023-11-30 17:05:19 +01:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|