19 declare(strict_types=1);
73 $this->checkArgIsElement(
76 self::$allowed_aria_roles,
77 implode(
'/', self::$allowed_aria_roles)
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
__construct(C\Symbol\Symbol $symbol, string $label, URI $target)
static array $allowed_aria_roles
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(Container $dic, ilPlugin $plugin)
withAriaRole(string $aria_role)
Get a button like this, but with an additional ARIA role.
getAriaRole()
Get the ARIA role on the button.