:
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
:
:
:
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.)
:
:
{ 1 , 2 , 3 ,… }
4 entries :
:
:
:
:
{ 1 , 2 , 3 ,… }
4 entries :
:
:
:
:
:
:
:
:
:
Chainable inline configuration
A final method to configuring Inspect.Values
that will override global options and withOptions
-variations is "chainable inline configuration":
example