# ukulelejs

> this is a light mvvc framework likes angularjs

Latest version **1.6.3** (published 2018-09-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install ukulelejs
pnpm add ukulelejs
yarn add ukulelejs
bun add ukulelejs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.3 |
| Published | 2018-09-28 |
| First published | 2015-12-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 511.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 90 |
| Author | Huibin Zheng |
| Maintainers | momoko8443 |
| Keywords | mvvc, javascript, framework, typescript |

## Links

- npm: https://www.npmjs.com/package/ukulelejs
- Repository: https://github.com/momoko8443/ukulelejs
- Homepage: https://github.com/momoko8443/ukulelejs#readme
- Issues: https://github.com/momoko8443/ukulelejs/issues
- npm.io page: https://npm.io/package/ukulelejs

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.6.3 (latest) — 2018-09-28
- 1.6.2 — 2018-09-27
- 1.6.1 — 2018-09-26
- 1.6.0 — 2018-09-25
- 1.5.1 — 2018-09-23
- 1.5.0 — 2018-09-21
- 1.4.2 — 2018-09-18
- 1.4.1 — 2018-09-16
- 1.4.0 — 2018-09-04
- 1.3.10 — 2018-09-04
- 1.3.9 — 2018-08-15
- 1.3.8 — 2018-08-12
- 1.3.7 — 2018-08-09
- 1.3.6 — 2018-08-09
- 1.3.5 — 2018-06-09
- … 18 more at https://npm.io/package/ukulelejs/versions

## README

# Install UkuleleJS
```
bower install ukulelejs
```
or
```
npm install ukulelejs
```

# Getting Start
## Native Way
**Import ukulelejs's library**
```html
<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**

```html
<body uku-application>
	...
</body>
```
Initialize ukulelejs and register Controller in the $(document).ready's callback function
```javascript
...
</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**
```html
<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/](https://momoko8443.github.io/ukulelejs_website/)


### Then, enjoy it!

---
_Source: https://npm.io/package/ukulelejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
