Website
Live demos
Guides
Source
Preparing search index...
The search index is not available
OpenAlgo Charts API - v2.6.9
OpenAlgo Charts API
trade
AccountStateSource
Interface AccountStateSource
What a host control needs to show and switch accounts.
AccountManager
implements it.
interface
AccountStateSource
{
getState
()
:
AccountState
;
select
(
accountId
:
string
)
:
Promise
<
AccountSelectResult
>
;
subscribe
(
listener
:
(
state
:
AccountState
)
=>
void
)
:
()
=>
void
;
}
Implemented by
AccountManager
Index
Methods
get
State
select
subscribe
Methods
get
State
getState
()
:
AccountState
Returns
AccountState
select
select
(
accountId
:
string
)
:
Promise
<
AccountSelectResult
>
Parameters
accountId
:
string
Returns
Promise
<
AccountSelectResult
>
subscribe
subscribe
(
listener
:
(
state
:
AccountState
)
=>
void
)
:
()
=>
void
Parameters
listener
:
(
state
:
AccountState
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
State
select
subscribe
Website
Live demos
Guides
Source
OpenAlgo Charts API - v2.6.9
Loading...
What a host control needs to show and switch accounts.
AccountManagerimplements it.