jungles-components

2.3.0 • Public • Published

Jungles Components

Angular.js components for jungles-panel.

Upload

upload(url='/files', ng-model='data.files')

url

The component will post a data url encode file to this url. The body of the request should be:

{ file: 'DataUrl' }

The response should be:

{ file: filename }

ng-model

An array that holds filenames.

Install

You can install the Angular.js components by passing them to the Jungles Panel.

var panel = require('jungles-panel').init({
  ...
  customize: [ require('jungles-components').upload ],
});

If you want to create your own components check out the component structure at Jungles Panel

/jungles-components/

    Package Sidebar

    Install

    npm i jungles-components

    Weekly Downloads

    1

    Version

    2.3.0

    License

    none

    Last publish

    Collaborators

    • enome