number
:Svelte <Inspect {value} />
Inspect.Values
Inspect.Values is a version of Inspect that will display any prop/value
passed to it, instead of having to use the value(s) prop.
example
num 1
isEven
: doubled
:Configuring
Inspect.Values does not accept any configuration props since any value passed as a
prop will simply be inspected. If you want to change the behavior of Inspect.Values you can use global options or define a
pre-configured version of the component with Inspect.Values.withOptions or the configured-function:
example
Inspect.Values and configured variants can all have expandLevel set by using
"Expand" properties from 0 to 10 (default 1.)
msg
: 22 chars
data
:{ 1 , 2 , 3 ,… }
a
: b
: c
: 4 entries
msg
: 6 chars
data
:{ 1 , 2 , 3 ,… }
a
: b
: c
: 4 entries
msg
: 34 chars
a
: b
: c
: d
: 3 entries
a
: b
: c
:Chainable inline configuration
A final method to configuring Inspect.Values that will override global options and withOptions-variations is "chainable inline configuration":
example