Preparing search index...
The search index is not available
glass-easel-miniprogram-adapter
glass-easel-miniprogram-adapter
builder
BuilderContext
Interface BuilderContext<TPrevData, TProperty, TMethodCaller>
interface
BuilderContext
<
TPrevData
,
TProperty
,
TMethodCaller
>
{
data
:
Merge
<
DataWithPropertyValues
<
TPrevData
,
TProperty
>
>
;
implement
:
(
<
TIn
>
(
this
,
traitBehavior
,
impl
)
=>
void
)
;
lifetime
:
(
<
L
>
(
this
,
name
,
func
)
=>
void
)
;
listener
:
(
<
T
>
(
this
,
func
)
=>
EventListener
<
T
>
&
{
[TaggedSymbol]
:
[
typeof
METHOD_TAG
]
;
}
)
;
method
:
(
<
Fn
>
(
this
,
func
)
=>
Tag
<
Fn
,
typeof
METHOD_TAG
>
)
;
pageLifetime
:
(
(
this
,
name
,
func
)
=>
void
)
;
self
:
TMethodCaller
;
setData
:
(
(
this
,
newData
,
callback
?
)
=>
void
)
;
observer
<
P
,
V
>
(
this
,
paths
,
func
)
:
void
;
observer
<
P
,
V
>
(
this
,
paths
,
func
)
:
void
;
relation
<
TOut
>
(
this
,
def
)
:
RelationHandler
<
any
,
TOut
>
;
relation
(
this
,
def
)
:
RelationHandler
<
any
,
never
>
;
}
Type Parameters
TPrevData
extends
DataList
TProperty
extends
PropertyList
TMethodCaller
Hierarchy
ThisType
<
TMethodCaller
>
BuilderContext
Index
Properties
data
implement
lifetime
listener
method
page
Lifetime
self
set
Data
Methods
observer
relation
Properties
data
data
:
Merge
<
DataWithPropertyValues
<
TPrevData
,
TProperty
>
>
implement
implement
:
(
<
TIn
>
(
this
,
traitBehavior
,
impl
)
=>
void
)
Type declaration
<
TIn
>
(
this
,
traitBehavior
,
impl
)
:
void
Type Parameters
TIn
extends
{
[
x
:
string
]
:
any
;
}
Parameters
this
:
void
traitBehavior
:
behavior
.
TraitBehavior
<
TIn
,
any
>
impl
:
TIn
Returns
void
lifetime
lifetime
:
(
<
L
>
(
this
,
name
,
func
)
=>
void
)
Type declaration
<
L
>
(
this
,
name
,
func
)
:
void
Type Parameters
L
extends
keyof
Lifetimes
Parameters
this
:
void
name
:
L
func
:
Lifetimes
[
L
]
Returns
void
listener
listener
:
(
<
T
>
(
this
,
func
)
=>
EventListener
<
T
>
&
{
[TaggedSymbol]
:
[
typeof
METHOD_TAG
]
;
}
)
Type declaration
<
T
>
(
this
,
func
)
:
EventListener
<
T
>
&
{
[TaggedSymbol]
:
[
typeof
METHOD_TAG
]
;
}
Type Parameters
T
Parameters
this
:
void
func
:
EventListener
<
T
>
Returns
EventListener
<
T
>
&
{
[TaggedSymbol]
:
[
typeof
METHOD_TAG
]
;
}
method
method
:
(
<
Fn
>
(
this
,
func
)
=>
Tag
<
Fn
,
typeof
METHOD_TAG
>
)
Type declaration
<
Fn
>
(
this
,
func
)
:
Tag
<
Fn
,
typeof
METHOD_TAG
>
Type Parameters
Fn
extends
ComponentMethod
Parameters
this
:
void
func
:
Fn
Returns
Tag
<
Fn
,
typeof
METHOD_TAG
>
page
Lifetime
page
Lifetime
:
(
(
this
,
name
,
func
)
=>
void
)
Type declaration
(
this
,
name
,
func
)
:
void
Parameters
this
:
void
name
:
string
func
:
(
(
...
args
)
=>
void
)
(
...
args
)
:
void
Parameters
Rest
...
args
:
any
[]
Returns
void
Returns
void
self
self
:
TMethodCaller
set
Data
set
Data
:
(
(
this
,
newData
,
callback
?
)
=>
void
)
Type declaration
(
this
,
newData
,
callback
?
)
:
void
Parameters
this
:
void
newData
:
Partial
<
SetDataSetter
<
TPrevData
>
>
Optional
callback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
Methods
observer
observer
<
P
,
V
>
(
this
,
paths
,
func
)
:
void
Type Parameters
P
V
=
GetFromObserverPathString
<
DataWithPropertyValues
<
TPrevData
,
TProperty
>
,
P
>
Parameters
this
:
void
paths
:
P
func
:
(
(
newValue
)
=>
void
)
(
newValue
)
:
void
Parameters
newValue
:
V
Returns
void
Returns
void
observer
<
P
,
V
>
(
this
,
paths
,
func
)
:
void
Type Parameters
P
extends
ObserverDataPathStrings
<
DataWithPropertyValues
<
TPrevData
,
TProperty
>
>
[]
V
=
{
[
K
in
string
|
number
|
symbol
]
:
GetFromObserverPathString
<
DataWithPropertyValues
<
TPrevData
,
TProperty
>
,
P
[
K
<
K
>
]
>
}
Parameters
this
:
void
paths
:
readonly
[
P
]
func
:
(
(
...
newValues
)
=>
void
)
(
...
newValues
)
:
void
Parameters
Rest
...
newValues
:
V
extends
any
[]
?
V
<
V
>
:
never
Returns
void
Returns
void
relation
relation
<
TOut
>
(
this
,
def
)
:
RelationHandler
<
any
,
TOut
>
Type Parameters
TOut
extends
{
[
key
:
string
]
:
any
;
}
Parameters
this
:
void
def
:
TraitRelationParams
<
TOut
>
&
ThisType
<
TMethodCaller
>
Returns
RelationHandler
<
any
,
TOut
>
relation
(
this
,
def
)
:
RelationHandler
<
any
,
never
>
Parameters
this
:
void
def
:
RelationParams
&
ThisType
<
TMethodCaller
>
Returns
RelationHandler
<
any
,
never
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
data
implement
lifetime
listener
method
page
Lifetime
self
set
Data
observer
relation
glass-easel-miniprogram-adapter
Loading...