When trying to apply scrollIntoViewWithOptions with just the behavior field, I'm required to provide block. The mdn docs show these as optional (along with the missing inline parameter). Can the binding be defined to allow providing a subset of the fields?
160 | "behavior": "smooth",
161 | }..
Error: This expression has type < behavior : string >
but an expression was expected of type
< behavior : string; block : string >
The first object type has no method block
When trying to apply
scrollIntoViewWithOptions
with just thebehavior
field, I'm required to provideblock
. The mdn docs show these as optional (along with the missinginline
parameter). Can the binding be defined to allow providing a subset of the fields?