Skip to content
View
Id
Type to start searching
GitHub
View
GitHub
View: Write once, use anywhere
Documentation
Documentation
MaterialDesignJsViewRenderer
MaterialDesignJsViewRenderer
Index
Alltypes
Alltypes
Index
View.core.renderers
View.core.renderers
Index
default theme
default theme
Index
init
Button accent color
Button raised
Button ripple
Horizontal margin
Set if empty
Throw excp
Vertical margin
material design js renderer
material design js renderer
Index
Invalidate
Physical view
Set root
renderer config
renderer config
Index
init
Root layout horizontal no wrap
view renderer
view renderer
Index
Render view
View.core.renderers.view renderers
View.core.renderers.view renderers
Index
abstract view renderer
abstract view renderer
Index
init
Build element
Css
Element
Re rendering
Render view
View
View.core.renderers.view renderers.display
View.core.renderers.view renderers.display
Index
image view renderer
image view renderer
Index
init
Build element
text view renderer
text view renderer
Index
init
Build element
View.core.renderers.view renderers.inputs
View.core.renderers.view renderers.inputs
Index
button renderer
button renderer
Index
init
Build element
button config
button config
Index
init
Accent color
Keys
Raise
Ripple
Type
color
color
Index
a c c e n t
n o n e
p r i m a r y
type
type
Index
f a b
f l a t
View.core.renderers.view renderers.layouts
View.core.renderers.view renderers.layouts
Index
grid layout renderer
grid layout renderer
Index
init
Before child is removed
Build element
Child created
Get child elements
layout renderer
layout renderer
Index
init
Before child is removed
Build element
Child created
Get child elements
Get views to be removed
Get views to be rendered
Remove children
Render children
linear layout renderer
linear layout renderer
Index
init
Build element
Child created
Layout config
linear layout config
linear layout config
Index
init
Is card
Keys
relative layout renderer
relative layout renderer
Index
init
Build element
Child created
Get views to be rendered
View.di
View.di
Index
container
container
Index
Kodein
View.utils.algos.graph
View.utils.algos.graph
Index
graph
graph
Index
init
Add edge
From edges
Topological sort
View.utils.element css
View.utils.element css
Index
element css
element css
Index
init
Apply to
Bottom
Display
End
Extend
Flex item settings
Flex settings
Font
Grid item
Grid
Height
Margin bottom
Margin end
Margin start
Margin top
Overflow x
Overflow y
Padding bottom
Padding end
Padding start
Padding top
Position
Start
Text
Top
Transformation
Visibility
White space
Width
relative positioning
relative positioning
Index
Align to parent bottom
Align to parent end
Align to parent start
Align to parent top
Center horizontal
Center vertical
View.utils.element css.properties
View.utils.element css.properties
Index
css dimen
css unit
css property
css property
Index
Apply to style
css value
css value
Index
Css string
dimension
dimension
Index
a u t o
init
m a x c o n t e n t
m i n c o n t e n t
z e r o
Apply to style
Css string
Is set
Property name
Set
Unit
Value
unit
unit
Index
a u t o
c h
c m
e m
e x
i n
m a x c o n t e n t
m i n c o n t e n t
m m
p c
p t
p x
r e m
r e l a t i v e
r e l a t i v e
Index
Css string
v i e w p o r t h e i g h t
v i e w p o r t h e i g h t
Index
Css string
v i e w p o r t h e i g h t m i n
v i e w p o r t h e i g h t m i n
Index
Css string
v i e w p o r t m i n
v i e w p o r t m i n
Index
Css string
v i e w p o r t w i d t h
v i e w p o r t w i d t h
Index
Css string
display
display
Index
b l o c k
f l e x
g r i d
i n l i n e
i n l i n e b l o c k
i n l i n e g r i d
none
Apply to style
flex item settings
flex item settings
Index
init
Align self
Apply to style
Flex basis
Grow
Shrink
align self
align self
Index
b a s e l i n e
c e n t e r
f l e x e n d
f l e x s t a r t
s t r e t c h
flex settings
flex settings
Index
init
Apply to style
Direction
direction
direction
Index
h o r i z o n t a l
h o r i z o n t a l
Index
Css string
v e r t i c a l
v e r t i c a l
Index
Css string
font
font
Index
init
Apply to style
Family
Size
Style
Weight
style
style
Index
i n h e r i t
i n i t i a l
i t a l i c
n o r m a l
o b l i q u e
weight
weight
Index
b o l d e r
b o l d
i n h e r i t
i n i t i a l
l i g h t e r
n o r m a l
grid
grid
Index
init
Apply to style
Column count
Column gap
Row count
Row gap
grid item
grid item
Index
init
Apply to style
Column span
Column
Row span
Row
number
number
Index
a u t o
i n h e r i t
i n i t i a l
init
Css string
Number
overflow
overflow
Index
init
Apply to style
Axis
Value
overflow axis
overflow axis
Index
x
y
value
value
Index
a u t o
h i d d e n
i n h e r i t
i n i t i a l
s c r o l l
v i s i b l e
position
position
Index
a b s o l u t e
f i x e d
r e l a t i v e
s t a t i c
s t i c k y
Apply to style
text
text
Index
init
Align
Apply to style
Color
align
align
Index
c e n t e r
j u s t i f y
l e f t
r i g h t
transformation
transformation
Index
init
Apply to style
To css
Translate x
Translate y
Translate
visibility
visibility
Index
c o l l a p s e
h i d d e n
i n h e r i t
i n i t i a l
v i s i b l e
Apply to style
white space
white space
Index
i n h e r i t
i n i t i a l
n o r m a l
n o w r a p
p r e
p r e l i n e
p r e w r a p
Apply to style
View.utils.extensions
View.utils.extensions
Index
Add classes
Apply css
Children
Filter children by
View children
View
View
Index
Alltypes
Alltypes
Index
View.core.loaders
View.core.loaders
Index
ids
ids
Index
init
Add id
Clear
Contains id
New id
View.core.loaders.builders
View.core.loaders.builders
Index
abstract view builder
abstract view builder
Index
init
Android extras
Apply keys
Background color
Before production
Build
Conflicting keys
Disabled
Has shadow
Height
Id
Ids
Ios extras
Margin bottom
Margin end
Margin horizontal
Margin start
Margin top
Margin vertical
Padding bottom
Padding end
Padding horizontal
Padding start
Padding top
Padding vertical
View
Visibility
Web extras
Width
view builder
view builder
Index
Apply keys
Build
view keys
view keys
Index
init
Keys
View.core.loaders.builders.display
View.core.loaders.builders.display
Index
image view builder
image view builder
Index
init
Before production
Image resource
Scale type
View
text view builder
text view builder
Index
init
Align
Before production
Font color
Font size
Font style
Font
Text
View
View.core.loaders.builders.dsl
View.core.loaders.builders.dsl
Index
dsl view tree loader
dsl view tree loader
Index
init
Load view tree
Root layout
Button
Button
Index
Invoke
Check box
Check box
Index
Invoke
Edit text
Edit text
Index
Invoke
Image view
Image view
Index
Invoke
Radio button
Radio button
Index
Invoke
Switch
Switch
Index
Invoke
Text view
Text view
Index
Invoke
View tree
View tree
Index
With root
View.core.loaders.builders.dsl.layouts
View.core.loaders.builders.dsl.layouts
Index
grid layout children
grid layout children
Index
init
Builder
Get
layout children
layout children
Index
init
Get
relative layout children
relative layout children
Index
init
Get
Grid layout
Grid layout
Index
Children
In cell
Invoke
To end
Linear layout
Linear layout
Index
Children
Invoke
Relative layout
Relative layout
Index
Children
Invoke
Relative to
View.core.loaders.builders.input
View.core.loaders.builders.input
Index
button builder
button builder
Index
init
Before production
Text
Type
View
View.core.loaders.builders.input.binary state input
View.core.loaders.builders.input.binary state input
Index
check box builder
check box builder
Index
init
View
radio button builder
radio button builder
Index
init
View
switch builder
switch builder
Index
init
View
View.core.loaders.builders.input.text input
View.core.loaders.builders.input.text input
Index
edit text builder
edit text builder
Index
init
Before production
Font color
Font size
Text
View
View.core.loaders.builders.layouts
View.core.loaders.builders.layouts
Index
r p
grid layout builder
grid layout builder
Index
init
Add children to views
Before production
Column count
Horizontal space
Row count
Vertical space
View
cell keys
cell keys
Index
init
Col span
Column
Horizontal alignment
Row span
Row
Vertical alignment
layout builder
layout builder
Index
init
Add child
Add children to views
Before production
Children
Scroll x
Scroll y
linear layout builder
linear layout builder
Index
init
Before production
Direction
View
relative layout builder
relative layout builder
Index
init
Add children to views
View
child
child
Index
init
Align bottom
Align end
Align parent bottom
Align parent end
Align parent start
Align parent top
Align start
Align top
Bottom of
Center horizontal
Center vertical
Center
End of
Start of
Top of
View.core.loaders.view tree
View.core.loaders.view tree
Index
illegal view tree exception
illegal view tree exception
Index
init
View.core.loaders.view tree.nodes
View.core.loaders.view tree.nodes
Index
layout node
layout node
Index
init
Children
node
node
Index
init
Content
View.core.loaders.view tree.nodes.deserialized node
View.core.loaders.view tree.nodes.deserialized node
Index
deserialized layout node
deserialized layout node
Index
init
Content
deserialized node
deserialized node
Index
init
Content
View.core.loaders.view tree.nodes.json node
View.core.loaders.view tree.nodes.json node
Index
json layout node
json layout node
Index
init
Content
json node
json node
Index
init
Content
View.core.loaders.view tree.tree loaders
View.core.loaders.view tree.tree loaders
Index
json tree loader
json tree loader
Index
init
serialized view tree loader
serialized view tree loader
Index
init
Load view tree
Root node
view tree loader
view tree loader
Index
Load view tree
View.core.renderers
View.core.renderers
Index
view tree renderer
view tree renderer
Index
Invalidate
Set root
View.core.views
View.core.views
Index
pre processor
dimension
dimension
Index
Type
Value
type
type
Index
e x p l i c i t
r e l a t i v e
w r a p c o n t e n t
theme
theme
Index
init
Apply to
Register
view
view
Index
init
Android extras
Background color
Disabled
Height
Id
Ios extras
Margin bottom
Margin end
Margin start
Margin top
Name
On click listener
On long click listener
On resize
Padding bottom
Padding end
Padding start
Padding top
Parent
Theme
Visibility
Web extras
Width
visibility
visibility
Index
g o n e
i n v i s i b l e
v i s i b l e
View.core.views.animations
View.core.views.animations
Index
animation
animation
Index
d e f a u l t i n t e r v a l
init
Duration
Interval
On end
On start
Start
Stop
Timer
animation set
animation set
Index
init
Animations
Set type
Start
set type
set type
Index
c o n c u r r e n t
s e q u e n t i a l
single animation
single animation
Index
init
Apply interpolated value
Interpolator
On repeat
Start
timer
timer
Index
Repeat
Stop
View.core.views.display
View.core.views.display
Index
image view
image view
Index
init
Image resource
Scale type
scale type
scale type
Index
c e n t e r
c e n t e r c r o p
c e n t e r i n s i d e
f i t
text view
text view
Index
init
Align
Font color
Font size
Font style
Font
Text
align
align
Index
c e n t e r
j u s t i f y
l e f t
r i g h t
font style
font style
Index
b o l d
i t a l i c
n o r m a l
View.core.views.input
View.core.views.input
Index
button
button
Index
init
Text
Type
t y p e
t y p e
Index
i c o n
n o r m a l
p l a t f o r m s p e c i f i c
View.core.views.input.binary state input
View.core.views.input.binary state input
Index
binary state input
binary state input
Index
init
Is on
On state changed listener
check box
check box
Index
init
radio button
radio button
Index
init
switch
switch
Index
init
View.core.views.input.text input
View.core.views.input.text input
Index
edit text
edit text
Index
init
Font color
Font size
On text changed
Text
View.core.views.layouts
View.core.views.layouts
Index
grid layout
grid layout
Index
init
Add child
Cells
Column count
Horizontal space
Row count
Vertical space
cell
cell
Index
init
Column span
Column
Horizontal alignment
Row span
Row
Vertical alignment
horizontal alignment
horizontal alignment
Index
c e n t e r
e n d
s t a r t
vertical alignment
vertical alignment
Index
b o t t o m
c e n t e r
t o p
layout
layout
Index
init
Add child
Child views
Children
Find
Remove child
Scroll x
Scroll y
linear layout
linear layout
Index
init
Direction
direction
direction
Index
h o r i z o n t a l
v e r t i c a l
relative layout
relative layout
Index
init
Add child
Conflicting positionings
Positions
Remove child
positioning
positioning
Index
a l i g n b o t t o m
a l i g n e n d
a l i g n p a r e n t b o t t o m
a l i g n p a r e n t e n d
a l i g n p a r e n t s t a r t
a l i g n p a r e n t t o p
a l i g n s t a r t
a l i g n t o p
b o t t o m o f
c e n t e r h o r i z o n t a l
c e n t e r v e r t i c a l
e n d o f
s t a r t o f
t o p o f
View.core.views.property delegates
View.core.views.property delegates
Index
abstract view property
abstract view property
Index
init
Get value
Renderer
Value
late init val
late init val
Index
init
Get value
Set value
nullable view property
nullable view property
Index
init
Set value
view property
view property
Index
init
Set value
View.di
View.di
Index
Inject
delegate provider
delegate provider
Index
init
Delegate factory
Provide delegate
kodein container
kodein container
Index
Add config
Kodein
View.utils.extensions
View.utils.extensions
Index
Kotlin. string
Non null
Representations
Kotlin. string
Kotlin. string
Index
To enum
To i d
View.utils.map based.keys
View.utils.map based.keys
Index
has keys
has keys
Index
init
Keys
map interface
map interface
Index
init
From string
Get value
Serialize
Set value
strategy
strategy
Index
c a s t
n o n n u l l
s t r i n g b a s e d
View.utils.map based.keys.delegates
View.utils.map based.keys.delegates
Index
abstract r w key
abstract r w key
Index
init
Getter strategy
Map interface
Set value
View.utils.map based.keys.delegates.nullable
View.utils.map based.keys.delegates.nullable
Index
bool r w key
color r w key
double r w key
int r w key
string r w key
enum r w key
enum r w key
Index
init
nullable r w key
nullable r w key
Index
init
Get value
Getter strategy
Map interface
View.utils.map based.keys.delegates.read only.casts
View.utils.map based.keys.delegates.read only.casts
Index
casting key
casting key
Index
init
Get value
Getter strategy
View.utils.map based.keys.delegates.required
View.utils.map based.keys.delegates.required
Index
required bool r w key
required double r w key
required int r w key
required string r w key
required enum r w key
required enum r w key
Index
init
required r w key
required r w key
Index
init
Get value
Getter strategy
Map interface
View.utils.naming conventions
View.utils.naming conventions
Index
case format converter
case format converter
Index
init
Convert
format
format
Index
l o w e r c a m e l
l o w e r u n d e r s c o r e
u p p e r c a m e l
u p p e r u n d e r s c o r e
View.utils.observables
View.utils.observables
Index
observable collection
observable collection
Index
init
Add all
Add
Clear
Remove all
Remove
Retain all
View.utils.serialization
View.utils.serialization
Index
json
json
Index
init
Parse
Serialize
View.utils.validators
View.utils.validators
Index
validation exception
validation exception
Index
init
validator
validator
Index
init
Validate
strategy
strategy
Index
a f f i r m a t i v e
c o n s e n s u s
u n a n i m o u s
View.utils.validators.conditions
View.utils.validators.conditions
Index
d c
i c
l c
s c
condition
condition
Index
Is valid
double conditions
double conditions
Index
n e g a t i v e
n e g a t i v e
Index
Is valid
n o n n e g a t i v e
n o n n e g a t i v e
Index
Is valid
n o n p o s i t i v e
n o n p o s i t i v e
Index
Is valid
p o s i t i v e
p o s i t i v e
Index
Is valid
z e r o
z e r o
Index
Is valid
integer conditions
integer conditions
Index
n e g a t i v e
n e g a t i v e
Index
Is valid
n o n n e g a t i v e
n o n n e g a t i v e
Index
Is valid
n o n p o s i t i v e
n o n p o s i t i v e
Index
Is valid
p o s i t i v e
p o s i t i v e
Index
Is valid
z e r o
z e r o
Index
Is valid
long conditions
long conditions
Index
c o l o r
c o l o r
Index
Is valid
r g b
r g b
Index
Is valid
r g b a
r g b a
Index
Is valid
string conditions
string conditions
Index
e m p t y
e m p t y
Index
Is valid
l o w e r c a m e l
l o w e r c a m e l
Index
Is valid
l o w e r u n d e r s c o r e
l o w e r u n d e r s c o r e
Index
Is valid
n o n e m p t y
n o n e m p t y
Index
Is valid
p r e s e n t
p r e s e n t
Index
Is valid
u p p e r c a m e l
u p p e r c a m e l
Index
Is valid
u p p e r u n d e r s c o r e
u p p e r u n d e r s c o r e
Index
Is valid
Guides
Guides
Installation
Getting Started
Customizing Views
Supporting a Serialization Format
Renderers
Renderers
MaterialDesignJSRenderer
MaterialDesignJSRenderer
1. Installation
Getting Started
Rendering Custom Views
View-common
/
view.core.loaders.builders
/
AbstractViewBuilder
/
id
id
var id:
String
?