jqxProgressBar requires the following files:
jqx.base.css
jqxcore.js
jqxprogressbar.js
<script src="~/jqwidgets/jqxprogressbar.js"></script> @using jQWidgets.AspNetCore.Mvc.TagHelpers <jqx-progress-bar theme="arctic"></jqx-progress-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/jqxprogressbar.js"></script> @using jQWidgets.AspNetCore.Mvc.TagHelpers <jqx-progress-bar instance="getInstance()"></jqx-progress-bar> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance["actualValue"](20,20); } </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/jqxprogressbar.js"></script> @using jQWidgets.AspNetCore.Mvc.TagHelpers <jqx-progress-bar on-complete="eventHandler()"></jqx-progress-bar> @section scripts { <script type="text/javascript"> function eventHandler(event) { } </script> }