Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to use dynamic images #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add possibility to use dynamic images #91

wants to merge 1 commit into from

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.

None yet

1 participant