I study some of the code examples in Knockout documentation and found that usually properties related to the same binding handler are separated, for example in the Custom Binding example
<div data-bind=
"slideVisible: giftWrap, slideDuration:600"
>
When the handler of the custom binding slideVisible` is triggered, it will access the binding `slideDuration`, which controls the duration of the slide. However, I am curious why don't instead have syntax like
<div data-bind=
"slide: {visible: giftWrap, duration:600}"
>
In this way, it is straightforward to see that the `visible` and `duration` are related to `slide` animation, and moreover we will not "pollute" the data-bind by introducing many data binding names (`slideDuration`, `slideXXX`) for one single binding handler, not to mention user does not need to type the long name `slideDuration`, `slideComplete`, `slide...` for every property.
I do understand that in the world of programming there is not a definite way of implementing things. But I also want to know in the point of view of Knockout developers, is there any particular reason this is acceptable or discouraged? Thank you.