@serenity-is/domwise
DomWise (@serenity-is/domwise)
TypeScript library for creating and managing DOM elements using JSX syntax with strong typing and IDE support.
- This is primarily based on alex-kinokon/jsx-dom with integrated signal support via @preact/signals and some extra types / ideas from ryansolid/dom-expressions and lusito/tsx-dom.
- Enables creating and manipulating DOM elements using JSX syntax with strong typing and IDE support.
Namespaces
Classes
Interfaces
- BasicClassList
- ComponentClass
- Computed
- CustomDomAttributes
- EffectOptions
- ElementAttributes
- HTMLElementTags
- MathMLElementTags
- PropBinding
- PropHook
- Signal
- SignalLike
- SignalOptions
- SVGElementTags
Type Aliases
- ClassName
- ClassNames
- ComponentChild
- ComponentChildren
- ComponentType
- EffectDisposer
- ExcludeMethods
- FunctionComponent
- JSXElement
- PropValue
- Ref
- RefCallback
- RefObject
- RemoveIndex
- ShadowRootContainer
- SignalOrValue
- StyleAttributes
- StyleProperties
- StylePropertiesBase
Variables
Functions
- addDisposingListener
- bindThis
- className
- createElement
- createRef
- currentLifecycleRoot
- currentNamespaceURI
- derivedSignal
- dispatchDisposingEvent
- Fragment
- inHTMLNamespace
- inMathMLNamespace
- inNamespaceURI
- inSVGNamespace
- invokeDisposingListeners
- isSignalLike
- jsx
- observeSignal
- removeDisposingListener
- setRef
- ShadowRootNode
- useClassList
- useImperativeHandle
- usePropBinding
- useSignal
- useText
References
h
Renames and re-exports createElement
jsxs
Renames and re-exports jsx
useRef
Renames and re-exports createRef