You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your component! I've implemented an automatic size switch with it. However, I had to manually add a mounted() hook to determine the initial size.
mounted(): void {
this.handleResize({
width: (this.$el as HTMLElement).offsetWidth,
height: (this.$el as HTMLElement).offsetHeight
});
},
Would you be interested in me submitting a PR to add a property to also fire an event on mount? I'm thinking about appear, just like Vue's <transition />.
The text was updated successfully, but these errors were encountered:
Thank you for your component! I've implemented an automatic size switch with it. However, I had to manually add a
mounted()
hook to determine the initial size.Would you be interested in me submitting a PR to add a property to also fire an event on mount? I'm thinking about
appear
, just like Vue's<transition />
.The text was updated successfully, but these errors were encountered: