Skip to content

Commit f0c50e0

Browse files
author
vakrilov
committed
chore: add events-args and ImageSource to index files
1 parent 16679aa commit f0c50e0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

nativescript-core/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ export const Http = { getFile, getImage, getJSON, getString: httpGetString, requ
5151

5252
export { ImageAsset, ImageAssetOptions } from "./image-asset";
5353

54-
// TODO: Should the ImageSource be inside nsImageSource. Probably "yes" but still give it a thought.
55-
// import { ImageSource, fromAsset, fromBase64, fromData, fromFile, fromFileOrResource, fromFontIconCode, fromNativeSource, fromResource, fromUrl } from "./image-source";
56-
// export const nsImageSource = { ImageSource, fromAsset, fromBase64, fromData, fromFile, fromFileOrResource, fromFontIconCode, fromNativeSource, fromResource, fromUrl };
57-
54+
export { ImageSource } from "./image-source";
5855
export { isAndroid, isIOS, screen } from "./platform";
5956

6057
// Export interfaces from "profiling" module

nativescript-core/ui/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export { ActionBar, ActionItem, ActionItems, NavigationButton } from "./action-bar";
22
export { ActivityIndicator } from "./activity-indicator";
33
export { Animation, AnimationDefinition } from "./animation";
4-
export { BottomNavigation } from "./bottom-navigation";
4+
export { BottomNavigation, SelectedIndexChangedEventData } from "./bottom-navigation";
55
export { Builder, LoadOptions } from "./builder";
66
export { Button } from "./button";
77
export { ContentView } from "./content-view";
8-
export { ViewBase, ShowModalOptions } from "./core/view-base";
9-
export { View, Template, KeyedTemplate } from "./core/view";
8+
export { ViewBase, ShowModalOptions, } from "./core/view-base";
9+
export { View, Template, KeyedTemplate, ShownModallyData, } from "./core/view";
1010
export { DatePicker } from "./date-picker";
1111

1212
// No need go export dialogs, they are already export exported globally
@@ -33,7 +33,7 @@ export {
3333

3434
export { HtmlView } from "./html-view";
3535
export { Image } from "./image";
36-
export { Cache } from "./image-cache";
36+
export { Cache, DownloadError, DownloadRequest, DownloadedData } from "./image-cache";
3737
export { Label } from "./label";
3838

3939
export * from "./layouts"; // barrel export

0 commit comments

Comments
 (0)