jquery/jquery-mobile — Issue #3149: calling trigger('create') on a page vs. calling page()
Author: frequent
Created: 2011-11-23 13:43:05+00:00
State: open

On trying to remove my leftover page() calls with trigger('create') I noticed some changes - most notably stuff not working anymore...

If I take a simple page to enhance:

Popover3

Popover3 page2

Popover3 page3

calling _trigger('create')_ doesn't get you anywhere to the enhanced page, most notable because the page is missing classes: _ui-page, ui-body-a_

Say I want to inject new pages into a multipage app programmatically, is there no way to trigger('create') the whole page or am I missing something completely?

Thanks!