angular generated listview items do not get jquery mobile styles #20

Closed
leeahoward opened this Issue Feb 1, 2012 · 3 comments

Comments

Projects
None yet
2 participants

Here is an example I threw together using the todo app:
http://jsfiddle.net/AecvK/
You will notice that the first two items in the list are static and are styled correctly. The rest of the items are generated by angular and do not get the jqmobile styles..

Here is the working example using adapter version 1.0.4:
http://jsfiddle.net/HYhkX/

Glad to see the update to jqm 1.0.1 so quickly. .

Thanks!

Contributor

tbosch commented Feb 2, 2012

Hi,
thanks a lot! I did an internal refactoring of the refreshing logic for issue #17.
I created a ui test case for this, so this should never happen again!

Tobias

tbosch closed this Feb 2, 2012

@tbosch tbosch pushed a commit that referenced this issue Feb 2, 2012

Tobias Bosch Bugfix for #20 49629ba
Contributor

tbosch commented Feb 2, 2012

By the way, instead of using ngm:event="{pagebeforeshow: 'refreshTodos()', swipeleft:'$navigate('settings')'}" in your example, you can now use ngm:pageforeshow="refreshTodos()" and ngm:swipeleft="$navigate('settings')

Tobias

Works perfectly so far. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment