1.0.5 • Published 7 years ago

ng-bulma v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

ng-bulma

Build Status npm Bower

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

<script src="https://cdn.rawgit.com/skamenetskiy/ng-bulma/master/dist/bulma.min.js"></script>

Step 2: Include main bulma component into your html

<body ng-app="app">
    <!-- YOUR CODE -->
    <bulma></bulma>
</body>

Documentation

bulma.module

angular
    .module('bulma', [
        'bulma.modal',
        'bulma.progress'
    ]);

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)

OptionTypeDescription
options.templatestringrepresents the template string
options.templateUrlstringrepresents the url to load the template from
options.controllerstringfunctionstring,functionrepresents the modal controller
options.controllerAsstringrepresents the controllerAs definition for the modals' controller
options.classesobjectwill be passed to modals' ngClass

bulma.modal Models

BulmaModal

Methods
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago