This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,13 @@ Default: `false`
100100
101101Like ` disableToggle ` above but only removes the arrows on mobile devices (max-device-width: 480px).
102102
103+ ### showHandle
104+
105+ Type: ` Boolean `
106+ Default: ` false `
107+
108+ Whether to show a handle in the middle of a splitbar. If toggle is enabled at the same time, the handle is shown between
109+ the two toggle buttons. The handle has the css class ` .ui-splitbar-handle ` .
103110
104111## Child Attributes
105112
Original file line number Diff line number Diff line change 132132 display : none;
133133}
134134
135+ .no-handle .ui-splitbar-handle {
136+ display : none;
137+ }
138+
135139@media only screen and (max-device-width : 480px ) {
136140 .no-mobile-toggle .ui-splitbar-icon {
137141 display : none;
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ angular.module('ui.layout', [])
5252 if ( opts . disableMobileToggle ) {
5353 $element . addClass ( 'no-mobile-toggle' ) ;
5454 }
55+ if ( ! opts . showHandle ) {
56+ $element . addClass ( 'no-handle' ) ;
57+ }
5558
5659 // Initial global size definition
5760 opts . sizes = opts . sizes || [ ] ;
You can’t perform that action at this time.
0 commit comments