Skip to content

Conversation

fbacker
Copy link

@fbacker fbacker commented Oct 27, 2016

Added possibility to add dynamic images

$.notify.addStyle('image', {
    html:
      "<div>" +
        "<div class='clearfix'>" +
          "<img class='image' data-notify-html='image'/>" +
          "<div class='title' data-notify-html='title'/>" +
        "</div>" +
      "</div>"
});

$.notify({
    title: "My Text",
    image: "http://myimage.png",
}, {
    style: 'image',
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant