ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
LoadingAnimationOnClick.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Button
;
22
27
trait
LoadingAnimationOnClick
28
{
29
protected
bool
$loading_animation_on_click =
false
;
30
35
public
function
withLoadingAnimationOnClick
(
bool
$loading_animation_on_click =
true
)
36
{
37
$clone = clone $this;
38
$clone->loading_animation_on_click = $loading_animation_on_click;
39
return
$clone;
40
}
41
45
public
function
hasLoadingAnimationOnClick
(): bool
46
{
47
return
$this->loading_animation_on_click;
48
}
49
}
ILIAS\UI\Component\Button\LoadingAnimationOnClick
Interface for buttons with loading animation on click.
Definition:
LoadingAnimationOnClick.php:29
ILIAS\UI\Implementation\Component\Button
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Bulky.php:21
ILIAS\UI\Implementation\Component\Button\hasLoadingAnimationOnClick
hasLoadingAnimationOnClick()
Definition:
LoadingAnimationOnClick.php:45
ILIAS\UI\Implementation\Component\Button\withLoadingAnimationOnClick
withLoadingAnimationOnClick(bool $loading_animation_on_click=true)
Definition:
LoadingAnimationOnClick.php:35
components
ILIAS
UI
src
Implementation
Component
Button
LoadingAnimationOnClick.php
Generated on Sun Oct 19 2025 23:04:29 for ILIAS by
1.9.4 (using
Doxyfile
)