Articles in this section
Category / Section

How is the scrollpanel rendered in the target element?

1 min read

The Scrollpanel is usually rendered in the immediate div of the target div element. Refer to the following code example.

HTML

<div id="content">

        <div>

            <!--Scrollpanel renders in this element-->

        </div>

    </div>

The Scrollpanel is initialized with the target property that it needs to be rendered. Here, the content is given with the attribute data-ej-target. Refer to the following code example.

HTML

<div id="scrollpanel" data-role="ejmscrollpanel" data-ej-target="content"></div>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied