mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-26 18:50:31 +00:00
implemented setting of theme and icon for split buttons at the list and link level.
This commit is contained in:
parent
b11a45f615
commit
2521dc2ffb
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue