| Conditions | 1 |
| Paths | 1 |
| Total Lines | 32 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import { Direction } from '../direction'; |
||
| 5 | constructor( options ) { |
||
| 6 | super( options ); |
||
| 7 | |||
| 8 | this.controlOptions = { |
||
| 9 | 'control': { |
||
| 10 | 'title': 'Border Radius', |
||
| 11 | 'name': 'border-radius', |
||
| 12 | 'units': { |
||
| 13 | 'default': 'px', |
||
| 14 | 'enabled': [ |
||
| 15 | 'px' |
||
| 16 | ] |
||
| 17 | }, |
||
| 18 | 'sliders': [ |
||
| 19 | { name: 'top-left', label: 'Top Left', cssProperty: 'border-top-left-radius' }, |
||
| 20 | { name: 'top-right', label: 'Top Right', cssProperty: 'border-top-right-radius' }, |
||
| 21 | { name: 'bottom-right', label: 'Bottom Right', cssProperty: 'border-bottom-right-radius' }, |
||
| 22 | { name: 'bottom-left', label: 'Bottom Left', cssProperty: 'border-bottom-left-radius' } |
||
| 23 | ] |
||
| 24 | }, |
||
| 25 | 'slider': { |
||
| 26 | 'px': { |
||
| 27 | 'min': 0, |
||
| 28 | 'max': 50 |
||
| 29 | }, |
||
| 30 | 'em': { |
||
| 31 | 'min': .1, |
||
| 32 | 'max': 5 |
||
| 33 | } |
||
| 34 | } |
||
| 35 | }; |
||
| 36 | } |
||
| 37 | |||
| 41 |