Use <span> for text components so they can have a suffix as well.

This commit is contained in:
Jürg Lehni 2014-10-05 12:18:18 +02:00
parent ca730cd76e
commit 689e150bb7

View file

@ -43,7 +43,7 @@ var Component = Base.extend(Callback, /** @lends Component# */{
},
text: {
tag: 'div',
tag: 'span',
// This will return the native textContent through DomElement.get():
value: 'text'
},