Skip to content

Commit 4345d3c

Browse files
author
vakrilov
committed
chore: api update
1 parent ce6d925 commit 4345d3c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

DevelopmentWorkflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ tns run ios
7474
## Running Another App
7575

7676
### TypeScript Applications
77-
Link both the `nativescript-core` folder and the generated compatibility package (`dist\tns-core-modules`):
77+
Link both the `nativescript-core` folders and the generated compatibility package (`dist\tns-core-modules`):
7878
``` bash
7979
npm i <path-to-nativescript-repo>/nativescript-core --save
8080
npm i <path-to-nativescript-repo>/dist/tns-core-modules --save

api-reports/NativeScript.api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,6 +2664,7 @@ export abstract class View extends ViewBase {
26642664
public static layoutChangedEvent: string;
26652665
public static layoutChild(parent: View, child: View, left: number, top: number, right: number, bottom: number): void;
26662666
public layoutNativeView(left: number, top: number, right: number, bottom: number): void;
2667+
_manager: any;
26672668
margin: string | PercentLength;
26682669
marginBottom: PercentLength;
26692670
marginLeft: PercentLength;
@@ -2677,10 +2678,10 @@ export abstract class View extends ViewBase {
26772678
// (undocumented)
26782679
_modalParent?: View;
26792680
off(eventNames: string | GestureTypes, callback?: (args: EventData) => void, thisArg?: any);
2680-
on(event: "loaded", callback: (args: EventData) => void, thisArg?: any);
2681-
on(event: "shownModally", callback: (args: ShownModallyData) => void, thisArg?: any);
26822681
on(event: "showingModally", callback: (args: ShownModallyData) => void, thisArg?: any): void;
26832682
on(event: "androidBackPressed", callback: (args: EventData) => void, thisArg?: any);
2683+
on(event: "shownModally", callback: (args: ShownModallyData) => void, thisArg?: any);
2684+
on(event: "loaded", callback: (args: EventData) => void, thisArg?: any);
26842685
on(event: "unloaded", callback: (args: EventData) => void, thisArg?: any);
26852686
on(eventNames: string | GestureTypes, callback: (args: EventData) => void, thisArg?: any);
26862687
_onAttachedToWindow(): void;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"setup": "npm run build-core && npm run build-compat && npm run setup-link",
4242
"setup-link": "(cd nativescript-core && npm link) && (cd dist/tns-core-modules && npm uninstall @nativescript/core -S)",
4343
"setup-widgets": "(cd tns-core-modules-widgets && sh build.sh) && npm run dev-link-tns-core-modules-widgets",
44-
"tsc-core-watch":" tsc -p nativescript-core/tsconfig.json -w",
44+
"tsc-core-watch": "tsc -p nativescript-core/tsconfig.json -w",
4545
"tslint": "tslint --project tsconfig.tslint.json --config build/tslint.json",
4646
"unit-test": "tsc -p unit-tests/tsconfig.json && mocha --opts unit-tests/mocha.opts",
4747
"unit-test-watch": "mocha-typescript-watch -p unit-tests/tsconfig.json --opts unit-tests/mocha.opts",

0 commit comments

Comments
 (0)