7.0.1685-testing

Gui Input

Web components comme with a number of inputs to handle all GreyCat types, but they also work well with js types.

You can specify the the exact input component you want, for example:

  • gui-input-string will create a input of type text
  • gui-input-number will create a input of type number

But you don’t have to, by passing the value internally we will infer the type and return the appropriate component

  • <gui-value value="[1,2,3]"> will return a gui-value-array

This also works by specifying the greycat type

  • <gui-value type="core::time"> will return a gui-value-time

String

Number (int/float)

Boolean

core::time

core::duration

Arrays

Js Map

Enums

Objects

Functions