Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skamenetskiy/ng-bulma
AngularJs wrapper for bulma
https://github.com/skamenetskiy/ng-bulma
angular angularjs bower bulma ng-bulma
Last synced: about 2 months ago
JSON representation
AngularJs wrapper for bulma
- Host: GitHub
- URL: https://github.com/skamenetskiy/ng-bulma
- Owner: skamenetskiy
- License: mit
- Created: 2016-12-17T20:54:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T14:45:16.000Z (about 7 years ago)
- Last Synced: 2024-10-29T00:49:14.181Z (about 2 months ago)
- Topics: angular, angularjs, bower, bulma, ng-bulma
- Language: JavaScript
- Size: 739 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng-bulma
[![Build Status](https://travis-ci.org/skamenetskiy/ng-bulma.svg?branch=master)](https://travis-ci.org/skamenetskiy/ng-bulma)
[![npm](https://img.shields.io/npm/v/ng-bulma.svg)](https://www.npmjs.com/package/ng-bulma)
[![Bower](https://img.shields.io/bower/v/ng-bulma.svg)](https://img.shields.io/bower/v/ng-bulma.svg)## Demo
[https://skamenetskiy.github.io/ng-bulma/](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
```html```
### Step 2: Include main bulma component into your html
```html
```
## Documentation
### bulma.module
```javascript
angular
.module('bulma', [
'bulma.modal',
'bulma.progress'
]);
```bulma is the main module which includes the `````` component and the following dependencies:
- bulma.modal
- bulma.progress### bulma.service
The ```bulma``` service is accessible through the `bulma` argument.
- [bulma.modal](#bulmamodaloptions--promisebulmamodal)#### 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|[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
### bulma.modal Models#### BulmaModal
##### Methods