@mintjamsinc/vue-resizeobserver

1.0.0 • Public • Published

vue-resizeobserver

A reusable resizeobserver directive for Vue.js 2.x.

Installation

npm install --save-dev @mintjamsinc/vue-resizeobserver

Usage

import VueResizeObserver from '@mintjamsinc/vue-resizeobserver';
Vue.use(VueResizeObserver);
<div key="list-container" v-resizeobserver="onListContainerResized">
</div>
export default {
  methods: {
    onListContainerResized() {
    },
  },
}

License

MIT

Copyright (c) 2021 MintJams Inc.

Readme

Keywords

Package Sidebar

Install

npm i @mintjamsinc/vue-resizeobserver

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.05 kB

Total Files

4

Last publish

Collaborators

  • mintjams-bot
  • kenichif