Closed SaimonL closed 6 years ago
Hi this is not a bug but a feature request. Is there a way to place a data attribute?
<%= fa_icon(:trash, text: 'Delete', data: { url: bla_bla_path(bla), book: { name: 'ABC'} }) %>
HALM style dataset. Good for reusing an icon in multiple places and have JavaScript read dataset.
Oh yea it does cool. I wish the document was better.
Hi this is not a bug but a feature request. Is there a way to place a data attribute?
HALM style dataset. Good for reusing an icon in multiple places and have JavaScript read dataset.