Svelte · Middle · Question 19 of 75
Which bindings are read-only?
- ✓Correct answer: Dimension bindings like
bind:clientWidth,bind:offsetHeighton elements - 2
bind:valueon inputs - 3
bind:checkedon checkboxes
Explanation
They are measured with a ResizeObserver, so you can read them but assigning has no effect.