Back to Firefox Ios

``ComponentLibrary/ActionButton``

BrowserKit/Sources/ComponentLibrary/Documentation.docc/Building Blocks/ActionButton.md

139.0336 B
Original Source

ComponentLibrary/ActionButton

A convenience button class to add a closure as an action on a button instead of a selector.

Overview

The ActionButton is a subclass of the ResizableButton. The purpose of this class is only to be able to use a closure as an action, which is sometimes more convenient than having a selector.