ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\Component\Button\Primary Interface Reference

This describes a standard button. More...

+ Inheritance diagram for ILIAS\UI\Component\Button\Primary:
+ Collaboration diagram for ILIAS\UI\Component\Button\Primary:

Additional Inherited Members

- Public Member Functions inherited from ILIAS\UI\Component\Button\Button
 getLabel ()
 Get the label on the button. More...
 
 withLabel (string $label)
 Get a button like this, but with an additional/replaced label. More...
 
 withSymbol (?Symbol $symbol)
 Get a button like this with a symbol in its label. More...
 
 getAction ()
 Get the action of the button, i.e. More...
 
 isActive ()
 Get to know if the button is activated. More...
 
 withUnavailableAction (bool $flag=true)
 Get a button like this, but action should be unavailable atm. More...
 
 withAriaLabel (string $aria_label)
 Get a button like this, but with an additional/replaced aria-label. More...
 
 getAriaLabel ()
 Get the aria-label on the button. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 
 reduceWith (\Closure $fn)
 The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable
 withOnLoadCode (Closure $binder)
 
 withAdditionalOnLoadCode (Closure $binder)
 Add some onload-code to the component instead of replacing the existing one. More...
 
 getOnLoadCode ()
 Get the currently bound on load code. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Clickable
 withOnClick (Signal $signal)
 Get a component like this, triggering a signal of another component on click. More...
 
 appendOnClick (Signal $signal)
 Get a component like this, triggering a signal of another component on click. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Triggerer
 withResetTriggeredSignals ()
 Get a component like this but reset any triggered signals of other components. More...
 
 getTriggeredSignals ()
 Get all triggered signals of this component. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Hoverable
 withOnHover (Signal $signal)
 Get a component like this, triggering a signal of another component on hover. More...
 
 appendOnHover (Signal $signal)
 Get a component like this, triggering a signal of another component on hover. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Button\Engageable
 isEngageable ()
 Returns whether the button is stateful or not. More...
 
 withEngagedState (bool $state)
 Get a copy of the Engageable Button with engaged state for $state=true and with disengaged state for $state=false. More...
 
 isEngaged ()
 Returns whether the button is currently engaged or not. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\HasHelpTopics
 withHelpTopics (Topic ... $topics)
 Let this component have the given topics. More...
 
 withAdditionalHelpTopics (Topic ... $topics)
 Let this component also have the given topics. More...
 
 getHelpTopics ()
 
- Public Member Functions inherited from ILIAS\UI\Component\Button\LoadingAnimationOnClick
 withLoadingAnimationOnClick (bool $loading_animation_on_click)
 If clicked the button will display a spinner wheel to show that a request is being processed in the background. More...
 
 hasLoadingAnimationOnClick ()
 Return whether loading animation has been activated. More...
 

Detailed Description

This describes a standard button.

Definition at line 26 of file Primary.php.


The documentation for this interface was generated from the following file: