Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5fe90b224 |
@@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v7
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
- name: Build WASM
|
- name: Build WASM
|
||||||
|
|||||||
@@ -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