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

3.36.3 • Public • Published

@filerobot/pixaforge

Plugins Website Version Scaleflex team License CodeSandbox

Filerobot Widget logo

Import free images & icons from Pixaforge in Filerobot Media Asset Widget that has free gallery for both.

Usage

NPM

npm install --save @filerobot/pixaforge

YARN

yarn add @filerobot/pixaforge

then

import Pixaforge from '@filerobot/pixaforge'
...
...
...
filerobot.use(Pixaforge, propertiesObject)

CDN

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

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

Plugin's styles

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

or if you prefer the minified version

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

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

Properties

title

Type: string

Default: 'Pixaforge'

The title/label that would be shown & used for the plugin.

companionHeaders

Type: null | object

Default: null

If you need to pass additional headers for in companion requests then pass them in this property(used in importing the images from pixaforge).

locale: object

Type: object

Default: locales from filerobot's backend then default locale file with all labels is under lib/defaultLocale.js.

You can override some labels by specifying a translation object here, such as:

{
  strings: {
    standardPortraits: 'Standard verticals' // overrides the default Standard portraits value to standard verticals
  }
}

noIconsGallery

Type: boolean

Default: false

If used the icons gallery option will be removed from the plugin and only images will be available.

Readme

Keywords

none

Package Sidebar

Install

npm i @filerobot/pixaforge

Weekly Downloads

327

Version

3.36.3

License

MIT

Unpacked Size

199 kB

Total Files

33

Last publish

Collaborators

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