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

3.34.10 • Public • Published

@filerobot/informer

Plugins Website Version Scaleflex team License CodeSandbox

Filerobot Widget logo

A pop-up alert for showing info, warnings or errors in Filerobot Media Asset Widget when other plugins needs to show some message with any of the mentioned types.

Usage

NPM

npm install --save @filerobot/informer

YARN

yarn add @filerobot/informer

then

import Informer from '@filerobot/informer'
...
...
...
filerobot.use(Informer, propertiesObject)

CDN

The plugin from CDN is found inside Filerobot global object Filerobot.Informer

const Informer = window.Filerobot.Informer
...
...
...
filerobot.use(Informer, propertiesObject)

If you are using @filerobot/explorer plugin you don't need to manually import this plugin as it is being imported automatically there with its styles and the default id Explorer:Informer Unless the Explorer id is changed.

Plugin's styles

import '@filerobot/core/dist/style.css'
import '@filerobot/informer/dist/style.css'

or if you prefer the minified version

import '@filerobot/core/dist/style.min.css'
import '@filerobot/informer/dist/style.min.css'

The plugin's css file should be imported after the Core's css file for having the styles shown correctly.

Readme

Keywords

none

Package Sidebar

Install

npm i @filerobot/informer

Weekly Downloads

1,516

Version

3.34.10

License

MIT

Unpacked Size

84.2 kB

Total Files

10

Last publish

Collaborators

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