mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #1432 from NativeScript/ErjanGavalji/fix-documentation-typo-in-dock-layout
Fix a typo, going to the documentation
This commit is contained in:
@ -183,7 +183,7 @@ export class DockLayoutTest extends testModule.UITest<DockLayout> {
|
|||||||
dockLayout.removeChild(btn);
|
dockLayout.removeChild(btn);
|
||||||
// ```
|
// ```
|
||||||
|
|
||||||
// ## Setting the dock proeprty
|
// ## Setting the dock property
|
||||||
// ``` JavaScript
|
// ``` JavaScript
|
||||||
var btnDockedToRight = new button.Button();
|
var btnDockedToRight = new button.Button();
|
||||||
dockModule.DockLayout.setDock(btnDockedToRight, enums.Dock.right);
|
dockModule.DockLayout.setDock(btnDockedToRight, enums.Dock.right);
|
||||||
@ -203,4 +203,4 @@ export class DockLayoutTest extends testModule.UITest<DockLayout> {
|
|||||||
|
|
||||||
export function createTestCase(): DockLayoutTest {
|
export function createTestCase(): DockLayoutTest {
|
||||||
return new DockLayoutTest();
|
return new DockLayoutTest();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user