Options
All
  • Public
  • Public/Protected
  • All
Menu

ComponentBase should be used to create components that can be invoked dynamically by name rather than having to know the component's name at compile time.

Hierarchy

Index

Constructors

constructor

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

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

Protected net

net: any

Private reject

reject: function | undefined

Private resolve

resolve: function | undefined

Methods

$onDestroy

  • $onDestroy(): Promise<void>

$onInit

  • $onInit(): Promise<void>

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>

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>

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