Skip to content

Change on htmlIcon / data-icon #166

@scheide

Description

@scheide

Here I changed "btn" in constructor:
'<i class="' + _self.htmlIcon() + '"></i>'

To use data-icon attribute like this:
data-icon="fas fa-file-upload"

Is it a bad idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions