The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist ui-awesome/html-concern:^0.2
or add
"ui-awesome/html-concern": "^0.2"
to the require section of your composer.json
file.
List of traits avaibles to use in your classes:
- HasAttributes
- HasContaineCollection
Methods available:
containerAttributes()
,containerClass()
,containerTag()
. - HasContent
- HasLabelCollection
Methods available:
disabledLabel
,label
,labelAttributes()
,labelClass()
,labelFor()
. - HasPrefixCollection
Methods available:
prefix()
,prefixAttributes()
,prefixClass()
,prefixTag()
. - HasSeparator
- HasSuffixCollection
Methods available:
suffix()
,suffixAttributes()
,suffixClass()
,suffixTag()
. - HasTag
- HasTagName
- HasTemplate
- HasUncheckedCollection
Methods available:
uncheckedAttributes()
,uncheckedClass()
,uncheckedValue()
.
Check the documentation testing to learn about testing.
The MIT License (MIT). Please see License File for more information.