1.0.3 • Published 5 months ago
@webhandle/hierarchies v1.0.3
Add hierarchies to a webhandle environment
Install
npm install @webhandle/hierarchies
Add to less:
@import "../node_modules/@webhandle/hierarchies/less/components";
Add to client js:
let hierarchies = require('@webhandle/hierarchies').default
hierarchies()
A couple options are available for the client side integration.
{
treeNodeForm: // A function to render the properties for a node
treeNodeFormPostrender: // a function to run after the properties are rendered and filled with data
}
Add to server js:
const hierarchiesIntegrator = (await import('@webhandle/hierarchies')).default
hierarchiesIntegrator (dbName)
By default, the urls are:
/admin/hierarchies
Services are:
- hierarchies