Skip to content

Changelog

v0.1.3

0.1.3 (2025-02-17)

Bug Fixes

  • remove console output on preview transition end (1c7327f)

v0.1.2

0.1.2 (2025-02-17)

Bug Fixes

v0.1.1

0.1.1 (2025-02-17)

Bug Fixes

v0.1.0

0.1.0 (2025-02-17)

Bug Fixes

  • Options set with props now override options set with setGlobalInspectOptions or InspectOptionsProvider
  • Support undefined/null as keys in map preview (#13) (132f99a)

Features

  • Getters and setters supported
  • Iterators and generators supported
  • Add options provider component (#10) (27508ea)
  • New options (props) added:
    • renderIf - render condition for Inspect. Makes it easier to conditionally render Inspect for different values using global options
    • elementView - determines how html element nodes are displayed. simple for minimal, auto updating. full for listing all properties of elements using their getters and setters
    • previewDepth - depth of previewing nested values before simply showing its types
    • previewEntries - how many nested values to preview
    • flashOnUpdate - enable/disable node indicators flashing when values are updated

Custom components (beta)

docs preview

  • Make it possible to conditionally use default or custom component using a predicate
  • Export helper function ensuring proper typing for props transform function and predicate

v0.0.2

Inspect Svelte Value v0.0.1

Consider this a pre-release