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 $scope

$scope: any

Protected currentModal

currentModal: any

error

error: string | null

initialized

initialized: Promise<void> | null

modal

modal: any

Protected net

net: any

Static categoryBase

categoryBase: Category = new Category("object")

Static categoryMap

categoryMap: object

Type declaration

  • [key: string]: Category

Methods

Protected alert

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

Protected buildLogMessage

  • buildLogMessage(msg: string, extraArgs?: __type | any[]): MessageType

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 logDebug

  • logDebug(msg: string, extraArgs?: __type | any[]): void

Protected logError

  • logError(msg: string, extraArgs?: __type | any[]): void

Protected logException

  • logException(msg: string, error: ErrorType, extraArgs?: undefined | __type): void

Protected logInfo

  • logInfo(msg: string, extraArgs?: __type | any[]): void

Protected logTrace

  • logTrace(msg: string, extraArgs?: __type | any[]): void

Protected logWarning

  • logWarning(msg: string, extraArgs?: __type | any[]): 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

Protected setLogLevel

  • setLogLevel(level: LogLevel, applyChildren?: boolean): void
  • description

    WARNING: This will override the entire category configuration, not just the LogLevel. DO NOT use in production.

    todo

    Keep current config settings and only update LogLevel. It is not apparent how to do this and may require a PR for https://github.com/mreuvers/typescript-logging

    Parameters

    • level: LogLevel
    • Default value applyChildren: boolean = false

      default: fase. If set to true then the level will be set for all child categories.

    Returns 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>

Static Protected createOrGetCategory

  • createOrGetCategory(name: string): Category

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