首页 > 代码库 > [Javascript] Create scrollable DOM elements with Greensock

[Javascript] Create scrollable DOM elements with Greensock

In this lesson, we will look at Greensock‘s Draggable API. We will implement a scrollable <div>container and explore some options available.

 

DOC

 

<iframe style="width: 100%; height: 500px;" src="https://embed.plnkr.co/FslMMgJPS2yaRXEjXRV0/" width="320" height="240"></iframe>

[Javascript] Create scrollable DOM elements with Greensock