PDA

View Full Version : sass: include pullrefresh css



jeanluca
14 May 2012, 12:15 AM
Hi

I'm using sass for managing the css. But from the documentation it is unclear how to add the css for the PullRefresh plugin.

After googling I found out that you have to do : @include sencha-list-pullrefresh ;

Is this somewhere documented in the Sencha Touch 2 docs (http://docs.sencha.com/touch/2-0/ ) ?

cheers
Luca

John Mark
15 May 2012, 11:57 PM
Yes, it is necessary to include that line in your scss file. The same is for the List Paging Plugin (in this case the correct mixin is @include sencha-list-paging).

The documentation doesn't mention these mixins, but there are some user comments about that (in the documentation of Ext.plugin.PullRefresh for example).

Maybe they would add these configurations in the next documentation release.

jeanluca
16 May 2012, 12:45 AM
ok, we'll wait!
Thanks!