pending property

  1. @Input()
bool pending
getter/setter pair

When pending is true, the yes and no buttons are hidden, and a spinner is shown.

This should be used to indicate asynchronous actions, such as saving or validating input.

Default value is false

Implementation

@Input()
bool pending = false;