Family Chart API Documentation - v0.8.1
Preparing search index...
AddRelative
Class AddRelative
Index
Constructors
constructor
Properties
add
Rel
Labels
can
Add?
cancel
Callback
datum
is_
active
on
Activate
on
Cancel
on
Change
store
Methods
activate
add
Rel
Labels
Default
clean
Up
get
Store
Data
set
Add
Rel
Labels
set
Can
Add
Constructors
constructor
new
AddRelative
(
store
:
Store
,
onActivate
:
()
=>
void
,
cancelCallback
:
(
datum
:
Datum
)
=>
void
,
)
:
AddRelative
Parameters
store
:
Store
onActivate
:
()
=>
void
cancelCallback
:
(
datum
:
Datum
)
=>
void
Returns
AddRelative
Properties
add
Rel
Labels
addRelLabels
:
{
daughter
:
string
;
father
:
string
;
mother
:
string
;
son
:
string
;
spouse
:
string
;
}
Optional
can
Add
canAdd
?:
(
datum
:
Datum
,
)
=>
{
child
?:
boolean
;
parent
?:
boolean
;
spouse
?:
boolean
}
cancel
Callback
cancelCallback
:
(
datum
:
Datum
)
=>
void
datum
datum
:
null
|
Datum
is_
active
is_active
:
boolean
on
Activate
onActivate
:
()
=>
void
on
Cancel
onCancel
:
null
|
(
()
=>
void
)
on
Change
onChange
:
null
|
(
(
updated_datum
:
Datum
,
props
:
any
)
=>
void
)
store
store
:
Store
Methods
activate
activate
(
datum
:
Datum
)
:
void
Parameters
datum
:
Datum
Returns
void
add
Rel
Labels
Default
addRelLabelsDefault
()
:
{
daughter
:
string
;
father
:
string
;
mother
:
string
;
son
:
string
;
spouse
:
string
;
}
Returns
{
daughter
:
string
;
father
:
string
;
mother
:
string
;
son
:
string
;
spouse
:
string
;
}
clean
Up
cleanUp
(
data
?:
Data
)
:
Data
Parameters
Optional
data
:
Data
Returns
Data
get
Store
Data
getStoreData
()
:
Data
Returns
Data
set
Add
Rel
Labels
setAddRelLabels
(
add_rel_labels
:
{
daughter
:
string
;
father
:
string
;
mother
:
string
;
son
:
string
;
spouse
:
string
;
}
,
)
:
undefined
|
AddRelative
Parameters
add_rel_labels
:
{
daughter
:
string
;
father
:
string
;
mother
:
string
;
son
:
string
;
spouse
:
string
;
}
Returns
undefined
|
AddRelative
set
Can
Add
setCanAdd
(
canAdd
:
|
undefined
|
(
(
datum
:
Datum
,
)
=>
{
child
?:
boolean
;
parent
?:
boolean
;
spouse
?:
boolean
}
)
,
)
:
AddRelative
Parameters
canAdd
:
|
undefined
|
(
(
datum
:
Datum
,
)
=>
{
child
?:
boolean
;
parent
?:
boolean
;
spouse
?:
boolean
}
)
Returns
AddRelative
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
add
Rel
Labels
can
Add
cancel
Callback
datum
is_
active
on
Activate
on
Cancel
on
Change
store
Methods
activate
add
Rel
Labels
Default
clean
Up
get
Store
Data
set
Add
Rel
Labels
set
Can
Add
Family Chart API Documentation - v0.8.1
Loading...