I want to implement a scroll even in knockoutJS, but just noticed this event type is not in their documentation, but i saw this event event: { scroll: scrolled }"
used in this post , so my question now is what other events are available, as the documentation doesn't state all.
Asked
Active
Viewed 212 times
0

Thanus
- 411
- 2
- 8
- 21
1 Answers
3
As per the documentation:
The
event
binding allows you to add an event handler for a specified event so that your chosen JavaScript function will be invoked when that event is triggered for the associated DOM element. This can be used to bind to any event, such askeypress
,mouseover
ormouseout
.
(emphasis mine).
So you can hook it up to any standard event.

James Thorpe
- 31,411
- 5
- 72
- 93