import { el } from "deka-dom-el"; import { mnemonicUl } from "../mnemonicUl.html.js"; export function mnemonic(){ return mnemonicUl().append( el("li").append( el("code", "assign(, ...): "), " — assign properties to the element", ), el("li").append( el("code", "el(, )[.append(...)]: "), " — simple element containing only text", ), el("li").append( el("code", "el(, )[.append(...)]: "), " — element with more properties", ), el("li").append( el("code", "el(, )[.append(...)]: "), " — using component represented by function", ), el("li").append( el("code", "el(<...>, <...>, ...)"), " — see following page" ), el("li").append( el("code", "elNS()()[.append(...)]: "), " — typically SVG elements", ) ); }