Fundamentals
Components
Code Utilities
Demo
BcJsInputService
Description
The BcJsInputService provides an interface for handling input events from HTML elements using JavaScript interop.
Methods
RegisterInputEventListener ( string id )
Registers an input event listener for the specified element ID. Returns an event reference that can be used for handling input events.
BcEventReference < BcInputEventArgs >
UnregisterInputEventListener ( string id )
Unregisters an input event listener for the specified element ID, removing it from active event subscriptions.
Task
OnInput ( BcInputEventArgs inputEventArgs )
Handles input events invoked from JavaScript. If a matching event subscription exists, it triggers the corresponding .NET event.
JSInvokable Static Method