Skip to content

Commit

Permalink
Add support for data-attributes. (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Nov 24, 2023
1 parent 852207d commit 5e2171d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Base/AbstractA.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ abstract class AbstractA extends AbstractElement
use Attribute\Aria\HasRole;
use Attribute\CanBeAutofocus;
use Attribute\CanBeHidden;
use Attribute\HasData;
use Attribute\Input\HasType;
use Attribute\Tag\HasDownload;
use Attribute\Tag\HasHref;
Expand Down
1 change: 1 addition & 0 deletions src/Base/AbstractBlockElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ abstract class AbstractBlockElement extends Block
use Attribute\Custom\HasAttributes;
use Attribute\Custom\HasContent;
use Attribute\HasClass;
use Attribute\HasData;
use Attribute\HasId;
use Attribute\HasLang;
use Attribute\HasStyle;
Expand Down
1 change: 0 additions & 1 deletion src/Base/AbstractButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ abstract class AbstractButton extends AbstractElement
use Attribute\Aria\HasAriaLabel;
use Attribute\Aria\HasRole;
use Attribute\Custom\HasContainer;
use Attribute\HasData;
use Attribute\Input\HasType;

protected array $attributes = ['type' => 'button'];
Expand Down
1 change: 1 addition & 0 deletions src/Base/AbstractElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ abstract class AbstractElement extends Element
use Attribute\Custom\HasPrefixAndSuffix;
use Attribute\Custom\HasTemplate;
use Attribute\HasClass;
use Attribute\HasData;
use Attribute\HasId;
use Attribute\HasLang;
use Attribute\HasStyle;
Expand Down
1 change: 1 addition & 0 deletions src/Base/AbstractInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ abstract class AbstractInput extends Element
use Attribute\Custom\HasPrefixAndSuffix;
use Attribute\Custom\HasTemplate;
use Attribute\HasClass;
use Attribute\HasData;
use Attribute\HasId;
use Attribute\HasLang;
use Attribute\HasStyle;
Expand Down

0 comments on commit 5e2171d

Please sign in to comment.