implemented setting of theme and icon for split buttons at the list and link level.

This commit is contained in:
scottjehl 2010-10-12 16:29:16 -04:00
parent b11a45f615
commit 2521dc2ffb

View file

@ -12,6 +12,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
countTheme: "c",
headerTheme: "b",
dividerTheme: "b",
splitIcon: "arrow-r"
splitTheme: "b",
inset: false
},
@ -145,9 +146,9 @@ $.widget( "mobile.listview", $.mobile.widget, {
.append( $( "<span>" ).buttonMarkup({
shadow: true,
corners: true,
theme: o.splitTheme,
theme: $list.data('splittheme') || a.data('theme') || o.splitTheme,
iconpos: "notext",
icon: a.data('icon') || "arrow-r"
icon: $list.data('spliticon') || a.data('icon') || o.spliticon
} ) );
//fix corners