ShowLooseProps
The same props with untyped children, for code that forwards children it does not know the shape of (a wrapper component's own props.children).
The same props with untyped children, for code that forwards children it does not know the
shape of (a wrapper component's own props.children).
Import#
ts
import type { ShowLooseProps } from "@shadow-js/web";
Signature#
ts
interface ShowLooseProps<T> extends ShowBaseProps<T> {
/**
* Same meaning as in {@link ShowKeyedProps}: `true` rebuilds the children when the identity of
* `when` changes.
* @default false
*/
readonly keyed?: boolean;
/**
* Plain content, an accessor, or a callback, as in {@link ShowProps}.
* @default undefined (a truthy `when` renders nothing)
*/
readonly children?: unknown;
}
Members#
| Name | Type | Description |
|---|---|---|
T |
T |
|
keyed? |
readonly keyed?: boolean |
Same meaning as in ShowKeyedProps: true rebuilds the children when the identity of when changes. |
children? |
readonly children?: unknown |
Plain content, an accessor, or a callback, as in ShowProps. |