Files
NativeScript/apps/automated/app/livesync/livesync-modal-view-page.ts
Nathan Walker 1e6fccf272 chore: cleanup
2020-07-23 14:03:37 -07:00

16 lines
442 B
TypeScript

import { View, ShowModalOptions } from '@nativescript/core';
const LIVESYNC_FOLDER = 'livesync/';
const buttonPageModuleName = `${LIVESYNC_FOLDER}livesync-button-page`;
export function onLoaded(args) {
const view = args.object as View;
let options: ShowModalOptions = {
context: 'context',
closeCallback: () => console.log('modal view closeCallback raised.'),
animated: false,
};
view.showModal(buttonPageModuleName, options);
}