iotile-common
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Widget
Base
constructor
$cordova
InApp
Browser
$injector
$ionic
History
$ionic
Loading
$ionic
Modal
$ionic
Popup
$log
$scope
channel
current
Modal
error
initialized
net
widget
$on
Destroy
$on
Init
alert
cleanup
confirm
hide
Isolated
Modal
hide
Loading
hide
Modal
initialize
is
Online
leave
From
Error
log_
debug
log_
error
log_
info
log_
warn
open
External
set
Error
show
Isolated
Modal
show
Loading
show
Loading
Ex
show
Modal
Hierarchy
ComponentBase
WidgetBase
Index
Constructors
constructor
Properties
$cordova
InApp
Browser
$injector
$ionic
History
$ionic
Loading
$ionic
Modal
$ionic
Popup
$log
$scope
channel
current
Modal
error
initialized
net
widget
Methods
$on
Destroy
$on
Init
alert
cleanup
confirm
hide
Isolated
Modal
hide
Loading
hide
Modal
initialize
is
Online
leave
From
Error
log_
debug
log_
error
log_
info
log_
warn
open
External
set
Error
show
Isolated
Modal
show
Loading
show
Loading
Ex
show
Modal
Constructors
constructor
new
Widget
Base
(
name
:
string
, $injector
:
any
, $scope
:
any
)
:
WidgetBase
Parameters
name:
string
$injector:
any
$scope:
any
Returns
WidgetBase
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
channel
channel
:
WidgetChannel
|
undefined
Protected
current
Modal
current
Modal
:
any
error
error
:
string
|
null
initialized
initialized
:
Promise
<
void
>
|
null
Protected
net
net
:
any
widget
widget
:
any
Methods
$on
Destroy
$on
Destroy
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
$on
Init
$on
Init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
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
>
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
>
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
>
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
>
set
Error
set
Error
(
message
:
string
)
:
void
Parameters
message:
string
Returns
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