setActionButton method

void setActionButton(
  1. ChromeSafariBrowserActionButton actionButton
)

Set a custom action button.

NOTE: Not available in a Trusted Web Activity.

Supported Platforms/Implementations:

Implementation

void setActionButton(ChromeSafariBrowserActionButton actionButton) {
  this._actionButton = actionButton;
}