Enumerations
  • 1 Minute to read

Enumerations


Article summary

Enumerations

UI_INPUT_TYPE

Enumeration to set input type.

  • UI_INPUT_TYPE.TEXT: User can only input a-z or A-Z
  • UI_INPUT_TYPE.NUMERIC: User can only input numbers

UI_THEME_TYPE

Enumeration to set the UI theme type.

  • UI_THEME_TYPE.DARK : Set the background to dark mode
  • UI_THEME_TYPE.WHITE : Set the background to light mode

UI_MODAL_TYPE

Enumeration to set the UI modal type.

  • UI_MODAL_TYPE.INFO: Specify that this is an informative component
  • UI_MODAL_TYPE.SUCCESS : Showing a message indicating that the operation was successful
  • UI_MODAL_TYPE.ERROR : Showing a message alerting about of a bad procedure

UI_TITLE_SIZE

Enumeration to set the title size.

  • UI_TITLE_SIZE.SMALL : Small size
  • UI_TITLE_SIZE.MEDIUM : Medium size
  • UI_TITLE_SIZE.LARGE : Large size

UI_ANIMATION_TYPE

Enumeration to set the animation format.

  • UI_ANIMATION_TYPE.LOTTIE : Lottie format
  • UI_ANIMATION_TYPE.PNG : PNG format
  • UI_ANIMATION_TYPE.JPEG : JPEG format
  • UI_ANIMATION_TYPE.GIF : GIF format
  • UI_ANIMATION_TYPE.URL : URL format

UI_SPLIT_TYPE

Emumeration of all the ui methods options.

  • UI_SPLIT_TYPE.DISPLAY_MODAL : Display a modal
  • UI_SPLIT_TYPE.DISPLAY_SCREEN : Display a screen
  • UI_SPLIT_TYPE.DISPLAY_INTERACTIVE_MAP : Display an interactive map
  • UI_SPLIT_TYPE.DISPLAY_ACTION_SCREEN : Display an action screen
  • UI_SPLIT_TYPE.DISPLAY_INPUT_MODAL : Display an input modal
  • UI_SPLIT_TYPE.DISPLAY_CHOICE_SELECTOR : Display a choice selector
  • UI_SPLIT_TYPE.DISPLAY_ANIMATION : Display an animation

UI_MODAL_SIZE

Enumeration to set the size of the modal.

  • UI_MODAL_SIZE.NORMAL : Normal size
  • UI_MODAL_SIZE.BIG : Big size

Was this article helpful?

What's Next