aurelia-entityinspector
v1.4.3
Published
An Aurelia ui component for viewing JavaScript values (plugin)
Downloads
289
Readme
aurelia-entityinspector
An Aurelia ui component for viewing JavaScript values (plugin)
Enabling the plugin:
In your Aurelia bootstrapper module:
export function configure(aurelia) {
aurelia.use
.plugin("aurelia-entityinspector")
}
When using webpack with current Aurelia version, you need to use this syntax:
import { PLATFORM } from "aurelia-framework";
export function configure(aurelia) {
aurelia.use
.plugin(PLATFORM.moduleName("aurelia-entityinspector"))
}
Using the entityinspector ui component (custom element):
<jux-entityinspector value.bind="data"
accordionmode.bind="isAccordionMode"
theme="dark">
Bindable properties:
value (any type: Object, Array, Date, string, boolean, number etc.)
-the entity to inspectaccordionmode (Optional; boolean)
-when true, only one array or object can be expanded at the same level in the inspector.theme (Optional; "dark" | "light")
-the entityinspector theme