Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IconStyle ¶
type IconStyle string
IconStyle is an enum for posible sizes of the md-icon
const ( IconSmall IconStyle = "small" //A smaller icon. 18px IconBig IconStyle = "big" //Bigger icon. 36px IconDouble IconStyle = "double" //Double-sized icon. 48px IconCircle IconStyle = "circle" //An icon in a circle IconSquare IconStyle = "square" //An icon in a square IconDarkBG IconStyle = "dark-bg" //An icon in dark background IconReactive IconStyle = "reactive" //An icon respond to click and showing a ripple effect IconDisabled IconStyle = "disabled" //A greyed out without responsiveness* )
posible icon sizes
type MdIcon ¶
type MdIcon struct { golymer.Element IconStyle IconStyle Img string // contains filtered or unexported fields }
MdIcon is an material design icon
func (*MdIcon) ObserverIconStyle ¶
ObserverIconStyle adds new icon style
func (*MdIcon) ObserverImg ¶
ObserverImg changes icon when Img is changed
Click to show internal directories.
Click to hide internal directories.