wagtail/client
Matt Westcott aa9de4758f Use static onload handlers in the image chooser modal
Instead of passing an 'onload' JS function as part of the AJAX response for each step of the workflow,
we specify all onload handlers up-front when initialising ModalWorkflow, and return a 'step' field
in the response to indicate which one to trigger.
2018-06-20 15:35:39 +01:00
..
scss Change Sass linting configuration to take advantage of stylelint capabilities 2017-08-26 16:39:45 +03:00
src Use static onload handlers in the image chooser modal 2018-06-20 15:35:39 +01:00
template Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
tests Use static onload handlers in the image chooser modal 2018-06-20 15:35:39 +01:00
webpack Add JS source maps in production build for packaged Wagtail 2018-03-14 23:03:00 +01:00
package-lock.json Add package-lock.json and remove npm-shrinkwrap.json 2017-08-11 15:40:43 +01:00
package.json Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail.