@tempots/dom
Conjunction() function
Creates a Renderable that returns the appropriate separator based on the element position.
Signature:
Conjunction: (separator: TNode, options?: ConjunctionOptions) => (pos: Signal<ElementPosition>) => Renderable
Parameters
Parameter |
Type |
Description |
---|---|---|
separator |
The default separator to use. | |
options |
(Optional) The options for configuring the conjunction. |
Returns: (pos: Signal<ElementPosition>) => Renderable
A function that returns the appropriate separator based on the element position.