Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 1.69 KB

ShownModallyData.md

File metadata and controls

72 lines (44 loc) · 1.69 KB
title ShownModallyData
titleTemplate title - API / NativeScript
description Defines the data for the shownModally event.
contributors false

Defined in: ui/core/view/view-interfaces.ts

Defines the data for the shownModally event.

Extends

Properties

closeCallback?

optional closeCallback?: Function;

Defined in: ui/core/view/view-interfaces.ts

A callback to call when you want to close the modally shown view. Pass in any kind of arguments and you will receive when the callback parameter of View.showModal is executed.


context?

optional context?: any;

Defined in: ui/core/view/view-interfaces.ts

The context (optional, may be undefined) passed to the view when shown modally.


eventName

eventName: string;

Defined in: data/observable/index.ts

The name of the event.

Inherited from

EventData.eventName


object

object: Observable;

Defined in: data/observable/index.ts

The Observable instance that has raised the event.

Inherited from

EventData.object