Improve this doc View source

pfFormButtons
directive in module patternfly.form

Description

Encapsulates the standard structure and styling for create and cancel buttons when used with a form.

This directive creates new scope.

Usage

as element:
<pf-form-buttons
       pf-handle-cancel="{function}"
       pf-handle-save="{function}"
       pf-working="{expression}"
       pf-button-class="{string}">
</pf-form-buttons>

Parameters

ParamTypeDetails
pfHandleCancelfunction

function to call when the user clicks cancel.

pfHandleSavefunction

function to call when the user clicks save.

pfWorkingexpression

the model to store the working status in.

pfButtonClassstring

the class of the button container.

Example

Source





Demo