knowthelist / fhem-tablet-ui

UI builder framework for FHEM
MIT License
148 stars 84 forks source link

Make html link title attribute independant from data-get #203

Closed IR4T4 closed 7 years ago

IR4T4 commented 7 years ago

My ui displays rss feed headers as links. I wasn't able to set the title from readings to show the full content of rss on mouseover/as tooltip - here is the fix.

Example:


<div class= "blank" data-type="link"
     data-title="RSS_NEWS:n00_description"
     data-color="white"
     data-height="1.5em"
     data-get="RSS_NEWS:n00_link">
 <div class="left" data-type="label" data-device="RSS_NEWS" data-get="n00_title"></div>
</div>

Note: After this update users have to set data-title explicitly to same value of data-get for old behaviour