bootstrap-notify icon indicating copy to clipboard operation
bootstrap-notify copied to clipboard

NEW TEMPLATE FOR MATERIAL-ICONS material.io/tools/icons "Material Design Google"

Open Appsfa opened this issue 6 years ago • 0 comments

template: '

'

//MODIFY Function setIcon

setIcon: function () { if (this.settings.icon_type.toLowerCase() === 'class') { this.$ele.find('[data-notify="icon"]').html(this.settings.content.icon); } else { if (this.$ele.find('[data-notify="icon"]').is('img')) { this.$ele.find('[data-notify="icon"]').attr('src', this.settings.content.icon); } else { this.$ele.find('[data-notify="icon"]').append('Notify Icon'); } } }

Appsfa avatar Oct 17 '18 17:10 Appsfa