大唐会议项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
1747191978@qq.com b4444fc0fd 大唐后台会议详情 4 months ago
..
src 大唐后台会议详情 4 months ago
.babelrc 大唐后台会议详情 4 months ago
LICENSE 大唐后台会议详情 4 months ago
README.md 大唐后台会议详情 4 months ago
package.json 大唐后台会议详情 4 months ago

README.md

vue-resize-sensor

detect container resizing.

  • event based
  • no window.onresize
  • no interval/timeout detection
  • no CSS modifications
  • no Javascript-Framework dependency

Example

<template>
  <div>
    <resize-sensor @resize="resize"></resize-sensor>
  </div>
</template>

API

props

initial Boolean

Request an initial size event.

events

@resize Object

A size object { width, height }

Browser support

Same browser support as Vue.js 2

Note

since v2.x, the script is exported as esm.

Credits

Franck Freiburger