Closed johnpozy closed 6 years ago
Same as text_container and title_container, the icon_container should also available in notice object. Later we can simply access it like notice.icon_container instead of document.getElementsByClassName('ui-pnotify-icon').
text_container
title_container
icon_container
notice
notice.icon_container
document.getElementsByClassName('ui-pnotify-icon')
I can make a PR if you want.
Thanks
In v4, you will be able to use notice.refs.iconContainer.
notice.refs.iconContainer
Same as
text_container
andtitle_container
, theicon_container
should also available innotice
object. Later we can simply access it likenotice.icon_container
instead ofdocument.getElementsByClassName('ui-pnotify-icon')
.I can make a PR if you want.
Thanks