@filerobot/template-builder
v3.74.1
Published
The template builder plugin used inside Filerobot Media Asset Management widget to handle different templates to be reused on the fly.
Downloads
4,574
Keywords
Readme
@filerobot/template-builder
The plugin is used for providing the functionality to create & edit templates to be used on the fly using the URL with different data.
Usage
NPM
npm install --save @filerobot/template-builder
YARN
yarn add @filerobot/template-builder
then
import TemplateBuilder from '@filerobot/template-builder'
...
...
...
filerobot.use(TemplateBuilder, propertiesObject)
CDN
The plugin from CDN is found inside Filerobot
global object Filerobot.TemplateBuilder
const TemplateBuilder = window.Filerobot.TemplateBuilder
...
...
...
filerobot.use(TemplateBuilder, propertiesObject)
Plugin's styles
import '@filerobot/core/dist/style.css'
or if you prefer the minified version
import '@filerobot/core/dist/style.min.css'
The plugin's css file should be imported after the Core's css file for having the styles shown correctly.