Commit 486b961
committed
feat(spark_web): add idiomatic Geolocation API and improve Firefox compatibility
- spark_web: Added Future-based getPosition() and Stream-based onPositionChanged() to Geolocation.
- spark_css: Bumped version to v1.0.0-alpha.2 and updated CHANGELOG with new typed properties.
- spark (example): Refactored GeolocationDemo to use new idiomatic API and added fallback for Firefox systems without GPS.1 parent 76cf090 commit 486b961
13 files changed
Lines changed: 248 additions & 205 deletions
File tree
- .gemini
- packages
- spark_css
- spark_web
- lib/src
- browser
- server
- test
- spark/example/lib
- components/geolocation_demo
- pages/geolocation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Lines changed: 63 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
139 | 154 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
143 | 159 | | |
144 | 160 | | |
145 | | - | |
| 161 | + | |
146 | 162 | | |
147 | 163 | | |
148 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
149 | 167 | | |
150 | 168 | | |
151 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
152 | 178 | | |
153 | | - | |
| 179 | + | |
154 | 180 | | |
155 | 181 | | |
156 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
157 | 188 | | |
158 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
159 | 194 | | |
160 | | - | |
161 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
162 | 199 | | |
163 | 200 | | |
| 201 | + | |
| 202 | + | |
164 | 203 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
170 | 208 | | |
171 | 209 | | |
172 | 210 | | |
| |||
Lines changed: 21 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 74 deletions
This file was deleted.
0 commit comments