Skip to content

Commit

Permalink
Add attributes method to InputInterface. (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 21, 2023
1 parent 08e1dcd commit 60d45ae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Input/InputInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ interface InputInterface
*/
public function ariaDescribedBy(string|bool $value = true): static;

/**
* Set the `HTML` attributes.
*
* @param array $values Attribute values indexed by attribute names.
*
* @return static A new instance of the current class with the specified attributes.
*/
public function attributes(array $values): static;

/**
* Set the `CSS` `HTML` class attribute.
*
Expand Down

0 comments on commit 60d45ae

Please sign in to comment.