oneBillion
:Svelte <Inspect {value} />
Custom Components beta
svelte-inspect-value
aims to (eventually) export all the building blocks to extend the
component with custom components.
Better documentation soon! Here's a minimal example:
Custom line
+page.svelte
numbersAndColors
: 7 entries
num 1000000000
oneTwoThreeFourEtc
: maxSafe
: red
: pink
: yella
: notAColor
: 5 chars
Custom expandable
*Custom expandables API is still unfinished num 2
multiples:
- base: 2
- timesTwo: 4
- timesThree: 6
Error handling
If any component, built-in or custom, should throw an error it will be caught by a boundary on an
entry-per-entry basis and render error details.
The error value display component reverts to using default components to avoid further issues.
customString
: 2 entries
'clickToError��'
: hey
: