CRUDUI

Home > @polyspec/crudui-generator-core > ButtonVM

ButtonVM interface

One evaluated form button.

Signature:

export interface ButtonVM 

Properties

Property

Modifiers

Type

Description

attrs

Record<string, string>

Attributes in output order: type, class, style, name, value, href, onclick.

tag

'a' | 'button'

Element name: a for a link, button otherwise.

text

string

Declared content, or the interface text of the button type.

type

FormButtonType

Declared button type.