HTML Elements › Forums › Forms & Editors › ScrollBar › Scrollbar usage
Tagged: change, custom element, custom scroll bars, event, event detail, scrollbar, smart elements, smart framework, web component, web components
This topic contains 3 replies, has 2 voices, and was last updated by Anonymous 2 years, 2 months ago.
- AuthorPosts
- February 5, 2019 at 12:10 pm #99571
AnonymousHello guys
I want to use your ScrollBar element inside my table. It was easy to create and position it but now im having dublicate scrollbars. How can i hide the browser scrollbars so i can see only the custom element ? And another question, when i bind to the change event how can i get the value of the element ?
February 11, 2019 at 6:05 am #99577
AnonymousHello hansT,
- To hide the browser scrollbars, please set
overflow: hidden
to the HTML element that overflows and shows them. - In the change event handler function, the value is received as
event.detail.value
.
Best regards,
DimitarSmart HTML Elements Team
https://www.htmlelements.comFebruary 11, 2019 at 11:22 am #99578
AnonymousGot it. Thank you.
Another questions comes to mind. Can i have the scrollbars visible even though they are not needed in order to view the full content of the page ?February 12, 2019 at 12:16 pm #99580
AnonymousHello hansT,
jqx-scroll-bar is a custom element and its visibility is not affected by its parent’s overflow CSS property. You can use jqx-scroll-bar in whatever configuration you like.
Best regards,
DimitarSmart HTML Elements Team
https://www.htmlelements.com - To hide the browser scrollbars, please set
- AuthorPosts
You must be logged in to reply to this topic.