Non-Window AngularDart Element onResize Event

I am working on a flexible full-width layout, and I need to do some processing of the element when resizing. This should not be associated with the window, as the size can change without changing the size of the window, for example. change the number of columns.

I work with AngularDart directives and components, and it would be nice to have a "resizable" directive that implements such an event for an element.

I came across the attributeChanged () method in the Dart Element class, but don't know how to use this without creating custom elements.

+4
source share

Source: https://habr.com/ru/post/1535262/


All Articles