README
@filerobot/url
Usage
From NPM
The plugin is on NPM as @filerobot/url
npm install --save @filerobot/url
then
import Url from '@filerobot/url'
...
...
...
filerobot.use(Url, optionsObject)
From CDN
The plugin from CDN is found inside Filerobot
global object Filerobot.Url
const url = window.Filerobot.Url
...
...
...
filerobot.use(url, optionsObject)
Plugin's styles
import '@filerobot/core/dist/style.css'
import '@filerobot/url/dist/style.css'
or if you prefer the minified version
import '@filerobot/core/dist/style.min.css'
import '@filerobot/url/dist/style.min.css'
The plugin's css file should be imported after the Core's css file for having the styles shown correctly.
Options
There are some few options for this plugin for helping in customization, as follow:
title: string
default: 'Link'
The title/label that would be shown & used for the plugin.
companionHeaders: null | object
default: null
If you need to pass additonal headers for in companion requests then pass them in this property.