Preparing search index...
The search index is not available
@varuntiwari/tomperjs
@varuntiwari/tomperjs
View
Class View<T, K>
Abstract
Type Parameters
T
extends
Model
<
K
>
K
Hierarchy
View
Index
Constructors
constructor
Properties
model
parent
regions
Methods
bind
Events
events
Map
map
Regions
on
Render
regions
Map
render
template
Constructors
constructor
new
View
<
T
,
K
>
(
parent
:
Element
, model
?:
T
)
:
View
<
T
,
K
>
Type Parameters
T
extends
Model
<
K
,
T
>
K
Parameters
parent:
Element
Optional
model:
T
Returns
View
<
T
,
K
>
Properties
Optional
model
model
?:
T
parent
parent
:
Element
regions
regions
:
{
[key:
string
]
:
Element
}
= {}
Type declaration
[
key:
string
]:
Element
Methods
bind
Events
bind
Events
(
fragment
:
DocumentFragment
)
:
void
Parameters
fragment:
DocumentFragment
Returns
void
events
Map
events
Map
(
)
:
{
[key:
string
]
:
(
(
)
=>
void
)
}
Returns
{
[key:
string
]
:
(
(
)
=>
void
)
}
[
key:
string
]:
(
(
)
=>
void
)
(
)
:
void
Returns
void
map
Regions
map
Regions
(
fragment
:
DocumentFragment
)
:
void
Parameters
fragment:
DocumentFragment
Returns
void
on
Render
on
Render
(
)
:
void
Returns
void
regions
Map
regions
Map
(
)
:
{
[key:
string
]
:
string
}
Returns
{
[key:
string
]
:
string
}
[
key:
string
]:
string
render
render
(
)
:
void
Returns
void
Abstract
template
template
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@varuntiwari/tomperjs
View
constructor
model
parent
regions
bind
Events
events
Map
map
Regions
on
Render
regions
Map
render
template
Generated using
TypeDoc