ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
LoadingAnimationOnClick.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Component
;
6
11
trait
LoadingAnimationOnClick
12
{
13
17
protected
$loading_animation_on_click =
false
;
18
22
public
function
withLoadingAnimationOnClick
(
bool
$loading_animation_on_click =
true
)
23
{
24
$clone = clone $this;
25
$clone->loading_animation_on_click = $loading_animation_on_click;
26
return
$clone;
27
}
28
32
public
function
hasLoadingAnimationOnClick
() : bool
33
{
34
return
$this->loading_animation_on_click;
35
}
36
}
ILIAS\UI\Implementation\Component
ILIAS\UI\Implementation\Component\hasLoadingAnimationOnClick
hasLoadingAnimationOnClick()
Definition:
LoadingAnimationOnClick.php:32
ILIAS\UI\Implementation\Component\withLoadingAnimationOnClick
withLoadingAnimationOnClick(bool $loading_animation_on_click=true)
Definition:
LoadingAnimationOnClick.php:22
php
LoadingAnimationOnClick
src
UI
Implementation
Component
Button
LoadingAnimationOnClick.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)