Closed robpolak closed 5 years ago
It works when you open the aside component differently:
Works for 2.3.8 via bs-on-show / bs-on-hide: example.
Anyway, it doesn't work for me in version 2.3.12...
I found out what was wrong! I have defined cb function in directive on postLink state. After I defined cb on preLink state it became to work!
link: {
pre: function (scope) {
scope.isActive = false;
scope.toggleActive = function () {
scope.isActive = !scope.isActive;
};
}
<button bs-dropdown data-bs-on-hide="toggleActive" data-bs-on-show="toggleActive">
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Per the documentation the bs-modal should fire an event on hide.. this seems to be broken:
Plunkr: http://plnkr.co/edit/ExK84TXrQxxBKEPO1MYz