Feature #35748
Add generic data-* attribute
Status: | Resolved | Start date: | 2012-04-06 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
Has patch: | Yes |
Description
All elements in HTML5 can have any number of data-*
attributes.
This should be made easier to use than with the additionalAttributes
property.
Example:
<f:link.action data="{loading-text: 'loading...'}" action="create">create a new foo</f:link.action>
Related issues
Associated revisions
[FEATURE] Add generic data-* attribute
All elements in HTML5 can have any number of data-* attributes.
This additional array attribute on tag bases viewhelpers makes
it easier to add several data-* attributes to them::
<f:form.textfield data="{foo: 'bar', baz: 'foos'}" />
Will render::
<input data-foo="bar" data-baz="foos" ...
Change-Id: I3187e9a8d2c97f0518893a633bc773bacb624ca5
Resolves: #35748
Releases: master
History
#1 Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10184
#2 Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11803
#3 Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10184
#4 Updated by Bastian Waidelich over 1 year ago
- Assigned To set to Bastian Waidelich
No feedback, taking over
#5 Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch master of project Packages/TYPO3.Fluid has been pushed to the review server.
It is available at https://review.typo3.org/10184
#6 Updated by Julian Wachholz over 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 8f7bd506e06e62c4f28428f47d14a4e4f9ea8977.