Options
All
  • Public
  • Public/Protected
  • All
Menu

CustomModalBase should be used to create modal controllers that can be invoked dynamically by name rather than having to know the modal's name at compile time.

Hierarchy

Index

Constructors

constructor

  • new CustomModalBase(name: string, $injector: any, $scope: any): CustomModalBase

Properties

Protected $cordovaInAppBrowser

$cordovaInAppBrowser: any

Protected $injector

$injector: any

Protected $ionicHistory

$ionicHistory: any

Protected $ionicLoading

$ionicLoading: any

Protected $ionicModal

$ionicModal: any

Protected $ionicPopup

$ionicPopup: any

Protected $log

$log: any

Protected $scope

$scope: any

Protected currentModal

currentModal: any

error

error: string | null

initialized

initialized: Promise<void> | null

modal

modal: any

Protected net

net: any

Methods

Protected alert

  • alert(title: string, message: string, severity?: UISeverity): Promise<void>

cleanup

  • cleanup(): Promise<void>

Protected confirm

  • confirm(title: string, message: string, severity?: UISeverity): Promise<boolean>

hide

  • hide(): Promise<void>

hideIsolatedModal

  • hideIsolatedModal(): Promise<void>

Protected hideLoading

  • hideLoading(): Promise<void>

hideModal

  • hideModal(): Promise<void>

initialize

  • initialize(): Promise<void>

isOnline

  • isOnline(): boolean

Protected leaveFromError

  • leaveFromError(message: string, title?: undefined | string): Promise<void>

Protected log_debug

  • log_debug(message: string, ...args: any[]): void

Protected log_error

  • log_error(message: string, ...args: any[]): void

Protected log_info

  • log_info(message: string, ...args: any[]): void

Protected log_warn

  • log_warn(message: string, ...args: any[]): void

openExternal

  • openExternal(url: string): Promise<void>

remove

  • remove(): Promise<void>

setError

  • setError(message: string): void

showIsolatedModal

  • showIsolatedModal(modalController: any): Promise<void>

Protected showLoading

  • showLoading(message: string, autoCloseOnTransition?: boolean): Promise<void>

Protected showLoadingEx

  • showLoadingEx(details: __type): Promise<void>

showModal

  • showModal(templateURL: string): Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc