Getting Started

jqxScrollBar represents a scrollbar UI component.

Every ASP .NET Core Mvc Tag Helper from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.

jqxScrollBar requires the following files:

The next step is to create html element within the body of the html document and add the initialization attributes.
<script src="~/jqwidgets/jqxbuttons.js"></script>
<script src="~/jqwidgets/jqxscrollbar.js"></script>
@using jQWidgets.AspNetCore.Mvc.TagHelpers
<jqx-scroll-bar disabled="true"></jqx-scroll-bar>
To call a function(method), you need to pass the method name and parameters(if any) in the UI component’s instance.
<script src="~/jqwidgets/jqxbuttons.js"></script>
<script src="~/jqwidgets/jqxscrollbar.js"></script>
@using jQWidgets.AspNetCore.Mvc.TagHelpers
<jqx-scroll-bar instance="getInstance()"></jqx-scroll-bar>
							
@section scripts {								
<script type="text/javascript">									
	function getInstance(instance) {									
		var result = instance["isScrolling"]();									
	}									
</script>									
}
To bind to an event of a UI Component, you can use on-event-type syntax. The example code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxbuttons.js"></script>
<script src="~/jqwidgets/jqxscrollbar.js"></script>
@using jQWidgets.AspNetCore.Mvc.TagHelpers
<jqx-scroll-bar on-value-changed="eventHandler()"></jqx-scroll-bar>
							
@section scripts {								
<script type="text/javascript">									
	function eventHandler(event) {									
	}									
</script>									
}

Basic Sample