1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-04 13:32:14 +02:00

🔤 Improves and updates docs

- customElementRender
- introduction example
This commit is contained in:
2024-12-13 15:01:18 +01:00
parent 3d0aeafc5c
commit e81ac9a3e5
12 changed files with 50 additions and 38 deletions

View File

@ -227,7 +227,6 @@ export function customElementRender<
EL extends HTMLElement,
P extends any = Record<string, string | ddeSignal<string>>
>(
custom_element: EL,
target: ShadowRoot | EL,
render: (props: P)=> SupportedElement | DocumentFragment,
props?: P | ((el: EL)=> P)

1
dist/esm.d.ts vendored
View File

@ -227,7 +227,6 @@ export function customElementRender<
EL extends HTMLElement,
P extends any = Record<string, string | ddeSignal<string>>
>(
custom_element: EL,
target: ShadowRoot | EL,
render: (props: P)=> SupportedElement | DocumentFragment,
props?: P | ((el: EL)=> P)