Animated Textbox

This is a regular textbox with the placeholder animating to the top as soon as the focus shifts to the textbox. If the text is left empty, the placeholder animates to the bottom again. This component is used wherever input data from the users is required.

Non-Animated textbox

Animated textbox

Error state

Usage

Here are the steps to set the component in Quantum Visualizer:

  1. Open the Infinity Origination project in Quantum Visualizer.
  2. Drag and drop a Flex Container widget onto the required form.
  3. Select the Flex Container and set the following properties:
    • width: “100%”
    • left: “0%”
    • top: “0%”
    • height: “90 Dp”
  4. Insert the component in the flex and write the following code in the respective form’s onBreakPointChange function.
    this.view.AnimatedTextBox.onBreakpointChange(width);

APIs


Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 8:40:24 PM IST