DevExtreme dxScrollView with onScroll
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/knockout/3.1.0/knockout-min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/globalize/0.1.1/globalize.min.js"></script>
<link rel="stylesheet" href="http://cdn3.devexpress.com/jslib/14.2.3/css/dx.common.css">
<link rel="stylesheet" href="http://cdn3.devexpress.com/jslib/14.2.3/css/dx.light.css">
<script src="http://cdn3.devexpress.com/jslib/14.2.5/js/dx.phonejs.js"></script>
<div data-bind="dxButton: { text: 'Click', onClick: onClick }"></div>
<div data-bind="dxScrollView: { onScroll: onScroll }">
10 Ways to Embrace Change - Real Simple
www.realsimple.com/work-life/life-strategies/ways-to-embrace-change
When it came to change, my father had it licked. His motto was simply “Don't let it happen to you.” He proudly wore the same tie he'd had since college.
6 Life Lessons on Embracing Change and Impermanence
tinybuddha.com/.../6-life-lessons-on-embracing-change-and-impermane...
When we can accept change, learn from it, and become all the better for experiencing it, change is no longer our enemy. It becomes our teacher.
11 Powerful Quotes to Inspire Your Team to Embrace Change
www.inc.com/.../11-powerful-quotes-to-inspire-your-team-to-embrace-c...
Feb 26, 2014 - Change is good. It's also often hard. But to succeed in business, you must run toward it.
NetAppVoice: Embrace Change Or Die (6 Ways To Win ...
www.forbes.com/sites/netapp/2014/08/21/embrace-change-or-die/
Aug 21, 2014 - ... ask questions like, "What's next?" and "What am I getting better at?" Here are six powerful ways to embrace change in your life and career...
Why Change is Always Scary and How to Embrace Change ...
annliublog.com/why-change-is-always-scary-and-how-to-embrace-change
If facing new situations fills you with dread, you can help yourself by learning how to embrace change. Think about it, change is inevitable. At this very moment, ...
Embrace Change, But Still Stand for Something -...
CSS
.dx-scrollview {
height: 300px;
width: 300px;
}
JavaScript
$(function() {
$(".dx-scrollview").dxScrollView("scroll", 40);
ko.applyBindings({
onClick: function() {
$(".dx-scrollview").dxScrollView("scroll", 40);
console.log("sync");
},
onScroll: function() {
console.log("scrolled");
}
});
});