2 Commits
Author SHA1 Message Date
renovate-bot 0a43a23d16 chore(deps): Update dependency go to 1.27
CI / build (pull_request) Successful in 44s
2026-08-20 03:01:59 +00:00
HugoNijhuis d5fe90b224 feat(ui): add LetterSpacing and LineHeight methods to View
CI / build (push) Successful in 27s
2026-08-15 18:29:29 +02:00
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
go-version: '1.27'
- name: Build WASM
run: GOOS=js GOARCH=wasm go build ./...
- name: Build Host
+10
View File
@@ -175,3 +175,13 @@ func (v View) TextDecoration(value string) View {
v.e.Get("style").Call("setProperty", "text-decoration", value)
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
}