CRUDUI

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

formButtonsHtml() function

Markup of the form buttons. Every renderer inserts this one string into the footer controls group. The buttons are evaluated buttons: a list of objects whose tag is a or button, whose text is a string and whose attrs holds string values of the button attributes.

Signature:

export declare function formButtonsHtml(buttons: readonly ButtonVM[]): string;

Parameters

Parameter

Type

Description

buttons

readonly ButtonVM[]

Returns:

string