AngularJs wrapper for bulma
https://skamenetskiy.github.io/ng-bulma/
ng-bulma can be installed using popular package managers or using CDN
npm install --save ng-bulma
bower install --save ng-bulma
<script src="https://cdn.rawgit.com/skamenetskiy/ng-bulma/master/dist/bulma.min.js"></script>
<body ng-app="app">
<!-- YOUR CODE -->
<bulma></bulma>
</body>
angular
.module('bulma', [
'bulma.modal',
'bulma.progress'
]);
bulma is the main module which includes the <bulma></bulma>
component and the following dependencies:
The bulma
service is accessible through the bulma
argument.
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 | [string,function] | represents the modal controller |
options.controllerAs | string | represents the controllerAs definition for the modals’ controller | ||
options.classes | object | will be passed to modals’ ngClass |