Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@margarita-form/core
RefManager
Class RefManager<CONTROL>
Type Parameters
CONTROL
extends
MFC
Hierarchy (
view full
)
BaseManager
<
RefEntry
<
CONTROL
>
[]
>
RefManager
Index
Constructors
constructor
Properties
_value
control
initial
Value?
subscriptions
manager
Name
Accessors
changes
current
Ref
form
Action
form
Element
name
other
Changes
use
Native
Submit
value
Methods
add
Ref
after
Initialize
cleanup
create
Subscription
disconnect
Ref
emit
Change
native
Submit
on
Cleanup
on
Initialize
prepare
Constructors
constructor
new
Ref
Manager
<
CONTROL
>
(
control
)
:
RefManager
<
CONTROL
>
Type Parameters
CONTROL
extends
MFC
Parameters
control
:
CONTROL
Returns
RefManager
<
CONTROL
>
Properties
_value
_value
:
RefEntry
<
CONTROL
>
[]
= ...
control
control
:
CONTROL
Optional
initial
Value
initial
Value
?:
RefEntry
<
CONTROL
>
[]
subscriptions
subscriptions
:
Subscription
[]
= []
Static
manager
Name
manager
Name
:
keyof
Managers
= 'ref'
Accessors
changes
get
changes
(
)
:
Observable
<
VALUE
>
Returns
Observable
<
VALUE
>
current
Ref
get
currentRef
(
)
:
MargaritaFormBaseElement
<
CONTROL
,
HTMLElement
>
Returns
MargaritaFormBaseElement
<
CONTROL
,
HTMLElement
>
form
Action
get
formAction
(
)
:
undefined
|
null
|
string
Returns
undefined
|
null
|
string
form
Element
get
formElement
(
)
:
undefined
|
HTMLFormElement
Returns
undefined
|
HTMLFormElement
name
get
name
(
)
:
keyof
Managers
Returns
keyof
Managers
other
Changes
get
otherChanges
(
)
:
Observable
<
unknown
>
Returns
Observable
<
unknown
>
use
Native
Submit
get
useNativeSubmit
(
)
:
boolean
Returns
boolean
value
get
value
(
)
:
VALUE
Returns
VALUE
set
value
(
value
)
:
void
Parameters
value
:
VALUE
Returns
void
Methods
add
Ref
add
Ref
(
node
)
:
void
Parameters
node
:
undefined
|
null
|
MargaritaFormBaseElement
<
CONTROL
>
Returns
void
after
Initialize
after
Initialize
(
)
:
void
Returns
void
cleanup
cleanup
(
)
:
void
Returns
void
create
Subscription
create
Subscription
<
VALUE
>
(
observable
,
callback
)
:
void
Type Parameters
VALUE
=
unknown
Parameters
observable
:
Observable
<
VALUE
>
callback
:
(
(
value
:
VALUE
)
=>
any
)
(
value
)
:
any
Parameters
value
:
VALUE
Returns
any
Returns
void
disconnect
Ref
disconnect
Ref
(
node
)
:
void
Parameters
node
:
null
|
MargaritaFormBaseElement
<
CONTROL
>
Returns
void
emit
Change
emit
Change
<
VALUE
>
(
change
)
:
Promise
<
RefEntry
<
CONTROL
>
[]
>
Type Parameters
VALUE
=
unknown
Parameters
change
:
VALUE
Returns
Promise
<
RefEntry
<
CONTROL
>
[]
>
native
Submit
native
Submit
(
)
:
void
Returns
void
on
Cleanup
on
Cleanup
(
)
:
void
Returns
void
on
Initialize
on
Initialize
(
)
:
void
Returns
void
prepare
prepare
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_value
control
initial
Value
subscriptions
manager
Name
Accessors
changes
current
Ref
form
Action
form
Element
name
other
Changes
use
Native
Submit
value
Methods
add
Ref
after
Initialize
cleanup
create
Subscription
disconnect
Ref
emit
Change
native
Submit
on
Cleanup
on
Initialize
prepare
Margarita form reference documentation
Loading...