1.6.3 • Published 6 years ago

ukulelejs v1.6.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Install UkuleleJS

bower install ukulelejs

or

npm install ukulelejs

Getting Start

Native Way

Import ukulelejs's library

<head>
	...
	<script type="text/javascript" src="ukulelejs/dist/uku.js"></script>
	...
</head>

Add 'uku-application' as an attribute to any html tags, then ukulelejs will control whole this tag

<body uku-application>
	...
</body>

Initialize ukulelejs and register Controller in the $(document).ready's callback function

...
</body>
<script>
...
var uku = new Ukulele();
uku.registerController("$myCtrl", new MyController());
uku.init();

function MyController() {
	this.message = "";
	....
}
</script>

Bind any html attribute to your model, just add 'uku-' + attribute's name, using {{}} to show model's value

<body uku-application>
	...
	<input type="text" uku-value="myCtrl.message">
	<h3>{{myCtrl.message}}</h3>
	...
</body>

Find more examples and API document at https://momoko8443.github.io/ukulelejs_website/

Then, enjoy it!

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.10

6 years ago

1.3.9

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago