File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 33+ [x] Fixed method ` val() ` in the select component for multiple select.
44+ [x] Fixed the movement of the hour hand in the analog clock (thanks to CmPi).
55+ [x] Added background patterns
6- + [x] Added new gradients gradient-cosmic-aurora, gradient-midnight-mist
6+ + [x] Added new gradients gradient-cosmic-aurora, gradient-midnight-mist
7+ + [x] Added new icons
8+ + [x] Added new prop ` zIndex ` and method ` zIndex() ` to the ` window ` component
Original file line number Diff line number Diff line change 4747 maxWidth : 0 ,
4848 maxHeight : 0 ,
4949
50+ zIndex : null ,
51+
5052 onDragStart : Metro . noop ,
5153 onDragStop : Metro . noop ,
5254 onDragMove : Metro . noop ,
257259
258260 win = $ ( "<div>" ) . addClass ( "window" ) ;
259261
262+ if ( o . zIndex !== null ) {
263+ win . css ( "z-index" , o . zIndex ) ;
264+ }
265+
260266 if ( o . modal === true ) {
261267 win . addClass ( "modal" ) ;
262268 }
712718 return this ;
713719 } ,
714720
721+ zIndex : function ( v ) {
722+ if ( Metro . utils . isNull ( v ) === false ) {
723+ this . win . css ( {
724+ zIndex : + v ,
725+ } ) ;
726+ }
727+
728+ return this . win . style ( "zIndex" ) ;
729+ } ,
730+
715731 changeAttribute : function ( attr , value ) {
716732 const changePos = function ( a , v ) {
717733 const win = this . win ;
You can’t perform that action at this time.
0 commit comments