import { EventData , Frame , Page , ActionBar } from '@nativescript/core' ; export function btnClick ( args ) { ( < Page > args . object ) . page . showModal ( 'action-bar/modal-page' , { context : '' , closeCallback : ( arg ) => console . log ( 'Callback args: ' + arg ) , fullscreen : true , } ) ; } export function btnBack ( args ) { Frame . topmost ( ) . goBack ( ) ; }