Input Interactions

Our component library supports two way interactions with components.

You can pass value to the components and also receive back any changed/entered value.

The below attributes can be used to interact with any applicable form component.

Getting Values/Updates from a component:

Property
Description
Type

This method returns the selected/entered value. The method returns the selected/entered value.

Method()

This is an event emitted every time there is a change in current value of the component. In the event.detail you will find the selected/entered value.

Event Listener

This is an event emitted every time the component loses focus. In the event.detail you will find the selected/entered value.

Event Listener

This is the default event that is fired once the value of the element is changed. You will receive the event as a value.

Event Listener

This is the default event that is fired once any key is pressed on the element in focus. You will receive the event as a value.

Setting/Updating Value to a component:

Property
Description
Type

This method sets the selected/entered value.

Method()

This is an event emitted every time there is a change in current value of the component. In the event.detail you will find the selected/entered value.

Event Listener

This is an event emitted every time the component loses focus. In the event.detail you will find the selected/entered value.

Event Listener

Example Usage

React JS

Angular JS

app.component.ts

app.component.html

Vanilla JS

Setting a Value

Last updated