Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce in fringilla libero, id lobortis sem. Nulla tristique neque est, id dapibus urna rutrum non. Sed ac felis accumsan, rutrum felis non, porta urna. Praesent non justo suscipit, luctus augue nec, elementum elit. Vivamus ultricies nibh vel eros convallis, aliquet maximus ligula mattis.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce in fringilla libero, id lobortis sem. Nulla tristique neque est, id dapibus urna rutrum non. Sed ac felis accumsan, rutrum felis non, porta urna. Praesent non justo suscipit, luctus augue nec, elementum elit. Vivamus ultricies nibh vel eros convallis, aliquet maximus ligula mattis.

Add after first paragraph
Aurora.message([{text: 'Test message 1'}], '#o1');
Add second to div with id #o2
Aurora.message([{text: 'Test message 2'}], '#o2');
Add second to div with id #o2 via object
Aurora.message([{text: 'Test message 2.5'}], document.querySelectorAll('#o2'));
NB! In this example only querySelectorAll() will return DOM object.

Add third with replace
Aurora.message([{text: 'Test message 3'}], '', {attachTo: 'window', replace: true});
Add message to window with replace
Aurora.message([{text: 'Test message 4'}], '', {attachTo: 'window', replace: true});
Add message to window
Aurora.message([{text: 'Test message 5'}], '', {attachTo: 'window', replace: false});

Remove second from set | Remove all

Aurora.remove('.ui-message-body:nth-child(2)');
Aurora.remove();

Callbacks

Open console to see something(press F12 in your browser)

Callback for onBeforeShow
Aurora.message([{text: 'Test message for beforeShow callback'}], '#cb_bs', {onBeforeShow: beforeShow(this.textContent)};
Callback for onAfterShow
Aurora.message([{text: 'Test message for onAfterShow callback'}], '#cb_bs1', {place: 'insertAfter', replace: false, onAfterShow: beforeShow(this.textContent)};
Callback for onRemove
Aurora.remove('', {onRemove: beforeShow(this.textContent)});