(args: ShownModallyData)
| 8 | } |
| 9 | |
| 10 | export function onShownModally(args: ShownModallyData) { |
| 11 | let page = <Page>args.object; |
| 12 | TKUnit.assertNotNull(page); |
| 13 | if (args.context) { |
| 14 | args.context.shownModally = true; |
| 15 | } |
| 16 | |
| 17 | TKUnit.assertEqual(Frame.topmost().currentPage.modal, page, 'Frame.topmost().currentPage.modal should be equal to the page instance on page.shownModally event handler.'); |
| 18 | args.closeCallback('return value'); |
| 19 | } |
nothing calls this directly
no test coverage detected