The props for the Forest.js app.
The DOM element to be decorated.
The decorated DOM element.
const app = createForest("#app", (el) => el); // <- "#app" is starting point of the appconst app = createForest((el) => el); // <- if you don't pass the starting point, the app will be mounted to the body Copy
const app = createForest("#app", (el) => el); // <- "#app" is starting point of the appconst app = createForest((el) => el); // <- if you don't pass the starting point, the app will be mounted to the body
The props for the Forest.js app.