I am using an Angular plugin in a data table. The container of the data table resizes, and through the document I found out that the data table that it will change when there is a window resize event. In jQuery, I know what it is $(window).trigger(), but I donβt know how to do it in angular.
My question is: in the Angular parent directive, how do I trigger a window resize event?
source
share