File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Breaking changes
6
6
- [ Add enumerations for string properties] ( https://github.com/NativeScript/nsplugins-internal/issues/169 )
7
+
8
+ ## What is the current behavior?
9
+ The enum-looking property ` drawerLocation ` is difficult to use, because its type is string and the available values are hard to guess:
10
+ ```
11
+ this._sideDrawer.drawerLocation = "Left";
12
+ ```
13
+
14
+ ## What is the new behavior?
15
+ The ` drawerLocation ` property's type is ` SideDrawerLocation ` , so it is easier to use:
16
+ ```
17
+ this._sideDrawer.drawerLocation = SideDrawerLocation.Left;
18
+ ```
19
+
20
+ Related to [ this issue] ( https://github.com/NativeScript/nsplugins-internal/issues/169 ) .
21
+
22
+ <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
23
+
24
+ ## 🔴 ; BREAKING CHANGES 🔴 ;
25
+
26
+ The following enumeration is created: ` SideDrawerLocation ` . It is used for RadSideDrawer's ` drawerLocation ` property.
27
+
28
+ Migration steps:
29
+ Replace every setting of a string value to the ` drawerLocation ` property value, to setting a value from the ` SideDrawerLocation ` enumeration.
30
+
31
+
7
32
8
33
## 5.1.0 (2018, December, 17)
9
34
You can’t perform that action at this time.
0 commit comments