Modifying floor-plans
npm install floor-editor@codemen/svg-modifier and renders a customised tailored floor-editor to suit premise inventory's floor modification requirements.
jsx
import React, { Component } from 'react';
import FloorEditor from 'floor-editor';
function Test (props) {
return (
/>
);
}
`
Props
$3
Did of the Floor (Module: Inventory_Floor)
$3
If the url to fetch file from isn't the absolute one or if fetching the svg file needs custom handling, or if the svg file is already in store for the current url, resolveUrl callback can be utilized.
- url
Current url
- callBack
Send the content using this function, using the first parameter to pass the content (svg html).
Return false to return control back to svg-modifier library that the current library wraps inside.
$3
Invoked after a url is resolved.
- url
The url that has been resolved
- content`