Skip to content

wakeless/rails-jquery-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails for jQuery Mobile is a simple extension to the built in rails tag helpers which assists in the writing of jQuery Mobile sites.

Usage

There are 2 ways of accessing the helpers. Firstly there are a number of function which create the tags with different data-roles. The helpers are:

  • page
  • navbar
  • content
  • footer
  • header
  • collapsible
  • listview
  • numberedlist

Secondly the helpers overwrites the builtin content_tag and tag functions and rewrites the related attributes to data- attributes. The attributes which it rewrites are:

  • theme -> data-theme
  • collapsed -> data-collapsed
  • transistion -> data-transition
  • direction -> data-direction
  • ajax -> data-ajax
  • role -> data-role
  • icon -> data-icon
  • position -> data-position

About

A few easy helpers for creating jQuery Mobile templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages