1 | <?php |
||
18 | class Element extends DOMElement implements PrototypeHTMLElement{ |
||
19 | use HTMLElementTrait; |
||
20 | |||
21 | /** |
||
22 | * @return string[] |
||
23 | */ |
||
24 | 3 | public function getAttributes():array{ |
|
33 | |||
34 | /** |
||
35 | * @param array $attributes |
||
36 | * |
||
37 | * @return \chillerlan\PrototypeDOM\Node\Element |
||
38 | */ |
||
39 | 5 | public function setAttributes(array $attributes):Element{ |
|
47 | |||
48 | /** |
||
49 | * @param array $attributes |
||
50 | * |
||
51 | * @return \chillerlan\PrototypeDOM\Node\Element |
||
52 | */ |
||
53 | 1 | public function removeAttributes(array $attributes):Element{ |
|
61 | |||
62 | /** |
||
63 | * @param array $classnames |
||
64 | * |
||
65 | * @return \chillerlan\PrototypeDOM\Node\Element |
||
66 | */ |
||
67 | 2 | public function addClassNames(array $classnames):Element{ |
|
82 | |||
83 | /** |
||
84 | * @param array $classnames |
||
85 | * |
||
86 | * @return \chillerlan\PrototypeDOM\Node\Element |
||
87 | */ |
||
88 | 2 | public function removeClassNames(array $classnames):Element{ |
|
108 | |||
109 | /** |
||
110 | * @return string[] |
||
111 | */ |
||
112 | 3 | public function getStyles():array{ |
|
135 | |||
136 | } |
||
137 |