Svelte <Inspect {value}
/>
TypeViewProps - display
- forceType
- key
- keyDelim
- keyPrefix
- keyStyle
- note
- path
- showKey
- type
- value
- forceType
- key
- keyDelim
- keyPrefix
- keyStyle
- note
- path
- showKey
- type
- value
TypeViewProps <
Value, Type >
type TypeViewProps<Value, Type> = {
display: string;
forceType: boolean;
key: PropertyKey;
keyDelim: string;
keyPrefix: string;
keyStyle: HTMLAttributes<HTMLDivElement>["style"];
note: {
description: string;
title: string;
};
path: PropertyKey[];
showKey: boolean;
type: Type;
value: Value;
};
Type Parameters
Value
Value
= unknown
Type
Type
= ValueType
Properties
display?
display: string;
Representation of value.
Use to customize how a value is represented while still being able to pass the original value for other purposes
forceType?
forceType: boolean;
Force type indicator visibility for this node
key?
key: PropertyKey;
keyDelim?
keyDelim: string;
keyPrefix?
keyPrefix: string;
keyStyle?
keyStyle: HTMLAttributes<HTMLDivElement>["style"];
note?
note: {
description: string;
title: string;
};
description?
description: string;
title?
title: string;
path?
path: PropertyKey[];
Path of the node
showKey?
showKey: boolean;
type?
type: Type;
Type of the value
value
value: Value;