Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A tiny javascript framework for mobile web apps. Added Android orientationchange support.
JavaScript Ruby
branch: example

This branch is 477 commits behind brianleroux:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
spec
src
util
.gitignore
LICENSE
README.md
Rakefile

README.md

XUI

A basic framework for building mobile web applications.

To build xui from source: run rake in the shell of your choice from the root of the project directory. (requires ruby) There are other tasks for code minfication, running the specs and generating docs. Check out example for...guess what: a fucking example! Right on.

 Dom

 Manipulating the document object model (DOM).


     clean

     Removes empty nodes from the DOM.

     syntax:

     x$(window).clean();

     arguments:
     example:


 Event

 A good old fashioned event handling system.


     on

     syntax:

     x$('button').on( 'click', function(){ alert('hey that tickles!') });

     arguments:
     - type:string the event to subscribe to click|load|etc
     - fn:function a callback function to execute when the event is fired

     example:


 Style

 Anything related to how things look. Usually, this is CSS.


     setStyle

     syntax:
     arguments:
     example:


 Fx

 Animations mostly but we're not excluding any ideas.


     tween

     syntax:

     x$('#box').tween({ left:100px, backgroundColor:'blue' });

     x$('#box').tween([{ left:100px, backgroundColor:'green', duration:.2 }, { right:100px }]);

     x$('#box').tween({ left:100px}).tween({ left:100px });

     arguments:
     example:


 Xhr

 Remoting methods and ultilites.  

         xhr

     syntax:

     xhr('pathtofile.html', {});

     arguments:

     url:string the url for request
     options:object
     - method:string get|put|delete|post
     - async:boolen
     - data:string url encoded string of parameters to send

     example:

    TODO
  • rock out with renewed authority LICENSE

Copyright (c) 2008 Brian LeRoux, Brock Whitten, Rob Ellis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, andor sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.