Function inCssInfo

  • Builds a source of informative CSS classes.

    Generates the following CSS classes:

    • disabled when input control is disabled (i.e. has no data).
    • readonly when input control is read-only,
    • invalid when input control validation failed,
    • missing when there are validation messages with missing code,
    • incomplete when there are validation messages with incomplete,
    • has-focus when input control has input focus,
    • touched when input control is touched (i.e. had focus already),
    • edited when input control is edited by user.

    These names are qualified with the given (or default) namespace.

    Parameters

    • ns: {
          ns?: NamespaceDef;
      } = {}

      A definition of namespace to qualify CSS class names with. The default namespace will be used when omitted.

      • Optional ns?: NamespaceDef

    Returns InCssClasses.Source

    A source of CSS class names to apply.

Generated using TypeDoc