Be / Buttons / IconViewHelper
----------------------------------
Viewhelper which returns save button with icon
**Type:** Basic
General properties
^^^^^^^^^^^^^^^^^^^^^^^
.. t3-field-list-table::
:header-rows: 1
- :Name: Name:
:Type: Type:
:Description: Description:
:Default value: Default value:
- :Name:
icon
:Type:
string
:Description:
Icon to be used
:Default value:
closedok
- :Name:
onclick
:Type:
string
:Description:
onclick setting
:Default value:
- :Name:
title
:Type:
string
:Description:
Title attribute of the resulting link
:Default value:
- :Name:
uri
:Type:
string
:Description:
the target URI for the link
:Default value:
Examples
^^^^^^^^^^^^^
Basic example
""""""""""""""""""
Code: ::
Output: ::
An icon button as known from the TYPO3 backend, skinned and linked
with the default action of the current controller.
Basic example II
"""""""""""""""""""""
Code: ::
Output: ::
A linked button with the icon of a news record which is linked to the index action