Element
- Namespace: \Redaxscript\Html
- Description: children class to create a element
- Package: Redaxscript
- Category: Html
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_tag | protected | ||
_singletonTags | protected | ||
_attributeArray | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
__toString | public | stringify the element |
init | public | init the class |
copy | public | copy the element |
attr | public | set the attribute to element |
removeAttr | public | remove the attribute from element |
addClass | public | add the class to element |
removeClass | public | remove the class from element |
_editClass | protected | edit class helper |
val | public | set the value to element |
text | public | set the text to element |
render | public | render the element |
html | public | set the html |
append | public | append to the html |
prepend | public | prepend to the html |
clear | public | clear the html |
Method | Visibility | Description |