module for working with entities.
construct a entity
Attributes of a Entity
turn the entity into html
Group Entities into a pile
move a entity
rotate a entity
map the content of a entity
map custom transformations
map position
map rotation
map z-index
Create an entity that can be flipped
For technical reasons we needed to provide a width. Default is a ratio of 2/3
You can overrule the default by providing a width:
height = 200
ratio = 2/3
flippable [Html.Attributes.style "width" (String.fromFloat (height * ratio) ++ "px")]Activates a 3d-effect for the child notes. Should be used in combination with flip
A transformation string
Add transformations to a card
Scale the card
Move the card
Rotate the card by a radial.
Flip the card. Only works if the outer div has a perspective Attribute
A entity allows for different relative transformations like rotating or moving by a relative amount.