goog.tweak.ButtonActionProvided Bygoog.tweak.ButtonActionExtendsgoog.tweak.BaseEntryA registry action (a button). new ButtonAction( id, description, callback )ParametersidstringThe ID for the setting. descriptionstringA description of what the setting does. callbackFunctionFunction to call when the button is clicked. VIEW SOURCEInstance Methodsexpand_morethis.addCallback( callback ) → voidAdds a callback that should be called when the setting has changed (or when an action has been clicked). Defined bygoog.tweak.BaseEntryParameterscallbackFunctionThe callback to add. VIEW SOURCEexpand_morethis.fireCallbacks() → voidCalls all registered callbacks. VIEW SOURCEexpand_morethis.getId() → stringDefined bygoog.tweak.BaseEntryParametersNone.ReturnsstringReturns the entry's ID. VIEW SOURCEexpand_morethis.isRestartRequired() → booleanReturns whether a restart is required for changes to the setting to take effect. Defined bygoog.tweak.BaseEntryParametersNone.ReturnsbooleanThe value. VIEW SOURCEexpand_morethis.removeCallback( callback ) → voidRemoves a callback that was added by addCallback. Defined bygoog.tweak.BaseEntryParameterscallbackFunctionThe callback to add. VIEW SOURCEexpand_morethis.setRestartRequired( value ) → voidSets whether a restart is required for changes to the setting to take effect. Defined bygoog.tweak.BaseEntryParametersvaluebooleanThe new value. VIEW SOURCEInstance Propertiesexpand_morethis.description → stringA description of what this entry does. VIEW SOURCEexpand_morethis.label → stringA descriptive label for the entry. VIEW SOURCEexpand_morethis.logger → (goog.log.Logger|null)The logger for this class. VIEW SOURCE