ng-bulma
Demo
https://skamenetskiy.github.io/ng-bulma/
Installation
ng-bulma can be installed using popular package managers or using CDN
Step 1: Include the library
npm
npm install --save ng-bulma
bower
bower install --save ng-bulma
CDN
Step 2: Include main bulma component into your html
<!-- YOUR CODE -->
Documentation
bulma.module
angular ;
bulma is the main module which includes the <bulma/>
component and the following dependencies:
- bulma.modal
- bulma.progress
bulma.service
The bulma
service is accessible through the bulma
argument.
bulma.modal(options) : promise(BulmaModal)
Option | Type | Description |
---|---|---|
options.template | string | represents the template string |
options.templateUrl | string | represents the url to load the template from |
options.controller | string | function |
options.controllerAs | string | represents the controllerAs definition for the modals' controller |
options.classes | object | will be passed to modals' ngClass |