1.0.4 • Published 8 years ago

ink.angular v1.0.4

Weekly downloads
17
License
-
Repository
github
Last release
8 years ago

ink.angular

No jQuery required! - AngularJS directives for Ink.

Install

$ npm install ink.angular
# OR
$ bower install ink.angular

Use

In html

<script src="angular.js"></script>
<script src="ink.angular.js"></script>

In the JS

var app = anglar.module('myApp', [ 'ink.angular' ]);

Directives

Alert

<alert title="hello" status="green" >
	Hello is my body
</alert>

Progress

<progress color="blue" caption="Is my progress" progress="number" total="max" />

Drawer

<ANY ng-controller="mycontroller">
	<drawer position="left" content="#myContent">
		<ul>
			...
			<li><a ng-click="close()">Close</a></li>
		</ul>
	</drawer>

	<ANY id="myContent">
		<a ng-click="open()">Open</a>
	</ANY>
</ANY>

or

function(scope){
	scope.open();
}

Sticky

<ANY class="sticky" offset=100 body-class="BodyClass" sticky-class="myStickyClass" >
</ANY>
1.0.4

8 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago