ASP .NET Core MVC Documentation
Getting Started
jqxComplexInput represents a ComplexInput UI component that enables you to edit complex numbers.Every ASP .NET Core Mvc Tag Helper from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.
Include all required javascript and css files
jqxComplexInput requires the following files:
CSS
jqx.base.css
Javascript
jqxcore.js
jqxcomplexinput.js
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/jqxcomplexinput.js"></script>
<jqx-complex-input decimal-notation="exponential" width="250" height="25"></jqx-complex-input>
To bind to an event of a UI Component, you can use<script src="~/jqwidgets/jqxcomplexinput.js"></script>
<jqx-complex-input width="250" height="25" instance="getInstance()"></jqx-complex-input>
@section scripts {
<script type="text/javascript">
function getInstance(instance) {
var result = instance["getReal"]();
}
</script>
}
on-event-type
syntax. The example
code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxcomplexinput.js"></script>
<jqx-complex-input on-change="eventHandler()"></jqx-complex-input>
@section scripts {
<script type="text/javascript">
function eventHandler(event) {
}
</script>
}