Interface IModalServiceInstance

Index

Properties

Methods

Properties

public opened: IPromise

a promise that is resolved when a modal gets opened after downloading content's template and resolving all variables

public result: IPromise

a promise that is resolved when a modal is closed and rejected when a modal is dismissed

Methods

public close(result?: any)

a method that can be used to close a modal, passing a result

Parameters

  • result?: any optional

public dismiss(reason?: any)

a method that can be used to dismiss a modal, passing a reason

Parameters

  • reason?: any optional