19declare(strict_types=1);
37 public function mode(array $labelled_actions,
string $aria_label):
Mode
39 return new Mode($labelled_actions, $aria_label);
44 return new Section($previous_action, $button, $next_action);
50 return new Sortation($options, $selected, $this->signal_generator);
55 return new Pagination($this->signal_generator);
sortation(array $options, string $selected)
mode(array $labelled_actions, string $aria_label)
section(Button $previous_action, Component $button, Button $next_action)
SignalGeneratorInterface $signal_generator
__construct(SignalGeneratorInterface $signal_generator)
A component is the most general form of an entity in the UI.
This is how the factory for UI elements looks.