iotile-common
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Modal
Base
constructor
$cordova
InApp
Browser
$injector
$ionic
History
$ionic
Loading
$ionic
Modal
$ionic
Popup
$log
$scope
current
Modal
custom
Controller
error
initialized
modal
net
options
templateURL
alert
cleanup
confirm
create
Modal
hide
hide
Isolated
Modal
hide
Loading
hide
Modal
initialize
is
Online
leave
From
Error
log_
debug
log_
error
log_
info
log_
warn
open
External
remove
set
Error
show
show
Isolated
Modal
show
Loading
show
Loading
Ex
show
Modal
Hierarchy
ControllerBase
ModalBase
DataGatheringModal
Index
Constructors
constructor
Properties
$cordova
InApp
Browser
$injector
$ionic
History
$ionic
Loading
$ionic
Modal
$ionic
Popup
$log
$scope
current
Modal
custom
Controller
error
initialized
modal
net
options
templateURL
Methods
alert
cleanup
confirm
create
Modal
hide
hide
Isolated
Modal
hide
Loading
hide
Modal
initialize
is
Online
leave
From
Error
log_
debug
log_
error
log_
info
log_
warn
open
External
remove
set
Error
show
show
Isolated
Modal
show
Loading
show
Loading
Ex
show
Modal
Constructors
constructor
new
Modal
Base
(
name
:
string
, templateURL
:
string
, $injector
:
any
, options
:
ModalOptions
)
:
ModalBase
Parameters
name:
string
templateURL:
string
$injector:
any
options:
ModalOptions
Returns
ModalBase
Properties
Protected
$cordova
InApp
Browser
$cordova
InApp
Browser
:
any
Protected
$injector
$injector
:
any
Protected
$ionic
History
$ionic
History
:
any
Protected
$ionic
Loading
$ionic
Loading
:
any
Protected
$ionic
Modal
$ionic
Modal
:
any
Protected
$ionic
Popup
$ionic
Popup
:
any
Protected
$log
$log
:
any
Protected
$scope
$scope
:
any
Protected
current
Modal
current
Modal
:
any
Private
custom
Controller
custom
Controller
:
CustomModalBase
|
null
error
error
:
string
|
null
initialized
initialized
:
Promise
<
void
>
|
null
Private
modal
modal
:
any
Protected
net
net
:
any
Private
options
options
:
ModalOptions
Private
templateURL
templateURL
:
string
Methods
Protected
alert
alert
(
title
:
string
, message
:
string
, severity
?:
UISeverity
)
:
Promise
<
void
>
Parameters
title:
string
message:
string
Default value
severity:
UISeverity
= UISeverity.Info
Returns
Promise
<
void
>
Protected
cleanup
cleanup
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
confirm
confirm
(
title
:
string
, message
:
string
, severity
?:
UISeverity
)
:
Promise
<
boolean
>
Parameters
title:
string
message:
string
Default value
severity:
UISeverity
= UISeverity.Info
Returns
Promise
<
boolean
>
Private
create
Modal
create
Modal
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
hide
hide
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
hide
Isolated
Modal
hide
Isolated
Modal
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
hide
Loading
hide
Loading
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
hide
Modal
hide
Modal
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
initialize
initialize
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Online
is
Online
(
)
:
boolean
Returns
boolean
Protected
leave
From
Error
leave
From
Error
(
message
:
string
, title
?:
undefined
|
string
)
:
Promise
<
void
>
Parameters
message:
string
Optional
title:
undefined
|
string
Returns
Promise
<
void
>
Protected
log_
debug
log_
debug
(
message
:
string
,
...
args
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
args:
any
[]
Returns
void
Protected
log_
error
log_
error
(
message
:
string
,
...
args
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
args:
any
[]
Returns
void
Protected
log_
info
log_
info
(
message
:
string
,
...
args
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
args:
any
[]
Returns
void
Protected
log_
warn
log_
warn
(
message
:
string
,
...
args
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
args:
any
[]
Returns
void
open
External
open
External
(
url
:
string
)
:
Promise
<
void
>
Parameters
url:
string
Returns
Promise
<
void
>
remove
remove
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Error
set
Error
(
message
:
string
)
:
void
Parameters
message:
string
Returns
void
show
show
(
...
args
:
any
[]
)
:
Promise
<
void
>
Parameters
Rest
...
args:
any
[]
Returns
Promise
<
void
>
show
Isolated
Modal
show
Isolated
Modal
(
modalController
:
any
)
:
Promise
<
void
>
Parameters
modalController:
any
Returns
Promise
<
void
>
Protected
show
Loading
show
Loading
(
message
:
string
, autoCloseOnTransition
?:
boolean
)
:
Promise
<
void
>
Parameters
message:
string
Default value
autoCloseOnTransition:
boolean
= false
Returns
Promise
<
void
>
Protected
show
Loading
Ex
show
Loading
Ex
(
details
:
__type
)
:
Promise
<
void
>
Parameters
details:
__type
Returns
Promise
<
void
>
show
Modal
show
Modal
(
templateURL
:
string
)
:
Promise
<
void
>
Parameters
templateURL:
string
Returns
Promise
<
void
>
Generated using
TypeDoc