Skip to content
On this page

Nresizable 可调整大小窗口(齐思博)

基础用法

支持右侧和底部拖拽调整窗口大小。

内容
<template>
  <div>
    <h-resizable :w="300">
      <div style="width:100%;height:300px;background:red;">内容</div>
    </h-resizable>
  </div>
</template>

Attributes

参数说明类型可选值默认值
w宽度string/numberauto
h高度string/number-auto
handles可调整类型array['mr', 'bm']['mr']
className自定义classstring
classNameHandle自定义拖动按钮classstring
enabled是否启动窗口调整booleantrue/falsetrue