feat(ui): add LetterSpacing and LineHeight methods to View
CI / build (push) Successful in 27s

This commit is contained in:
2026-08-15 18:29:29 +02:00
parent 5976078613
commit d5fe90b224
+10
View File
@@ -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
}