Back to Firefox Ios

``ComponentLibrary/RoundedButtonWithImage``

BrowserKit/Sources/ComponentLibrary/Documentation.docc/General Components/RoundedButtonWithImage.md

139.0768 B
Original Source

ComponentLibrary/RoundedButtonWithImage

The button which is used for actions that have also a loading state.

Overview

RoundedButtonWithImage is a subclass of UIButton. This means that the properties of UIButton are accessible, but it's recommended to configure the button title and accessibility identifier through its view model RoundedButtonWithImageViewModel. The colors, rounded corners, and spacing of the button, although accessible, shouldn't be adjusted and should be used as is.

Illustration

This image is illustrative only. For precise examples of iOS implementation, please run the SampleApplication.

Topics

View Model

  • RoundedButtonWithImageViewModel