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

Allow positioning relative to parent container

Open threewordphrase opened this issue 10 years ago • 1 comments

I found myself a little surprised that setting the parent container didn't actually make the notification appear relative to that container. We needed the notifications to appear closer to the user's point of focus (a particular form or element on the page) and I figured it might be useful addition to the project. Usage:

notify.config({ parentalPosition: true, container: $('#order-detail') });

left / center / right work as expected.

threewordphrase avatar Nov 04 '15 02:11 threewordphrase

Bump... Looking forward to using a non-forked version in my next project :)

threewordphrase avatar Nov 13 '15 18:11 threewordphrase