angular-ui-layout
Advanced tools
Comparing version 1.2.3 to 1.3.0
{ | ||
"name": "angular-ui-layout", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "This directive allows you to split !", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
@@ -82,2 +82,16 @@ # UI.Layout directive [![Build Status](https://travis-ci.org/angular-ui/ui-layout.svg)](https://travis-ci.org/angular-ui/ui-layout) | ||
### disableToggle | ||
Type: `Boolean` | ||
Default: `false` | ||
Set to `true` if you don't want the toggle arrows appearing in the splitbar. | ||
### disableMobileToggle | ||
Type: `Boolean` | ||
Default: `false` | ||
Like `disableToggle` above but only removes the arrows on mobile devices (max-device-width: 480px). | ||
## Child Attributes | ||
@@ -84,0 +98,0 @@ |
@@ -33,2 +33,9 @@ 'use strict'; | ||
if (opts.disableToggle) { | ||
$element.addClass('no-toggle'); | ||
} | ||
if (opts.disableMobileToggle) { | ||
$element.addClass('no-mobile-toggle'); | ||
} | ||
// Initial global size definition | ||
@@ -35,0 +42,0 @@ opts.sizes = opts.sizes || []; |
Sorry, the diff of this file is not supported yet
100260
1822
208