View Source SurfaceFontAwesome.TextLayer (surface_font_awesome v0.4.0)
A component that represents a text layer to be overlayed on icons.
Example:
~F"""
<Layers>
<Icon icon="sms">
<TextLayer>New text!</TextLayer>
</Layers>
"""
properties
Properties
size :string, values: ["xs", "sm", "lg", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"] - The size of the icon
transform :string - Transformations of the icon. Use
rotate-#
,grow-#
,shrink-#
,right-#
,left-#
,up-#
,down-#
in any combination. Rotations are in degrees, placement and scaling are in 1/16them
style :string, default: "" - Styles for the component
class :css_class - CSS classes for the component
slots
Slots
- default
Link to this section Summary
Functions
Callback implementation for Surface.Component.render/1
.
Link to this section Functions
Callback implementation for Surface.Component.render/1
.