This commit is contained in:
@@ -175,3 +175,13 @@ func (v View) TextDecoration(value string) View {
|
|||||||
v.e.Get("style").Call("setProperty", "text-decoration", value)
|
v.e.Get("style").Call("setProperty", "text-decoration", value)
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (v View) LetterSpacing(spacing string) View {
|
||||||
|
v.e.Get("style").Call("setProperty", "letter-spacing", spacing)
|
||||||
|
return v
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v View) LineHeight(height string) View {
|
||||||
|
v.e.Get("style").Call("setProperty", "line-height", height)
|
||||||
|
return v
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user