OO-based UI behavior modules behind CardKit(mobile webapp framework)'s view components
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
asset
scss
tests
util
README.md
actionview.js
bower.json
bubble.js
control.js
growl.js
imageview.js
modalview.js
overlay.js
package.json
picker.js
ranger.js
slider.js

README.md

Moui

  • OO-based UI behavior modules behind CardKit's view components
  • 'mobile first'
  • Independent of particular appearance and specific business
  • Use HTML as configurations that is equal to JS API

Usage

AMD and OzJS

Get the code

Add to your project as new dependency

Or download directly from Github

Dependencies

  • mo
  • dollar or other jQuery-compatible library

Examples

CardKit demo app

Modules Overview

moui/control:

  • Minimal stateful component

moui/picker:

  • Compose of Control objects

moui/overlay:

  • Minimal overlay component

moui/actionview:

  • Inherit from Overlay
  • Compose of Picker objects

moui/modalview:

  • Inherit from Overlay

moui/imageview:

  • Inherit from ActionView

moui/growl:

  • Inherit from Overlay

moui/bubble (Plan to refactor)

  • Inherit from Growl

moui/ranger:

  • Minimal range component

moui/slider (Plan to refactor)

  • Inherit from Ranger

moui/util/stick:

  • Stick a DOM element to anther from any clock position

API and usage

Comming soon...

More References

See OzJS Project Homepage

Release History

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.