This repository was archived by the owner on Oct 8, 2021. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.4k
Navigation Api
        gabrielschulhof edited this page Oct 17, 2014 
        ·
        10 revisions
      
    jQuery Mobile Navigation API
Current Goals:
- Separate out transitions into their own module
- Switch to js based transitions
- Make it possible to have non linkable history entries
- Add navigation hooks for widgets
- click handler calls $( link.attr( "href" )[ link.attr( "data-rel" ) ]( "open" );when handling an anchor that hasdata-rel="widgetname"
 
- click handler calls 
- Separate push state and hash change
- Simplify and review api
- Add support for multiple page containers
- Create separate auto enhancement module
- fall back to standard hash handling if you fail to find the internal widget to open()(comply with spec)
- implement linking to ids ( deep linking ) for scrolling to a position the same as the browsers do already
- Separate out click handler
Questions:
- 
If the initial hash contains the id of a widget should we open that widget? Answer(s): - @gabrielschulhof: IMO yes, because that means deep linking was allowed during the initial opening of the widget.