No Problem, Meatbag

    @filerobot/url
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.128-alpha.4 • Public • Published

    @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.

    Keywords

    none

    Install

    npm i @filerobot/url

    DownloadsWeekly Downloads

    655

    Version

    1.0.128-alpha.4

    License

    MIT

    Unpacked Size

    28.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • philipka
    • amrw.js
    • amr26
    • ahmeeedmostafa
    • vitaly.shaposhnik