quasar+vue实现拖拽分割spliter separator效果代码
代码语言:html
所属分类:拖放
代码描述:quasar+vue实现拖拽分割spliter separator效果代码
代码标签: quasar vue 拖拽 分割 spliter separator
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons'> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/quasar.prod.css"> </head> <body> <!-- Forked from: http://www.quasarchs.com/vue-components/splitter#example--adding-to-separator --> <div id="q-app" style="min-height: 100vh;"> <div> <q-splitter v-model="splitterModel" style="height: 400px" > <template v-slot:before> <div class="q-pa-md"> <div class="text-h4 q-mb-md">Before</div> <div v-for="n in 20" :key="n" class="q-my-md">{{ n }}. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quis praesentium cumque magnam odio iure quidem, quod illum numquam possimus obcaecati commodi minima assumenda consectetur culpa fuga nulla ullam. In, libero.</div> </div> </template> <template v-slot:separator> <q-avatar color.........完整代码请登录后点击上方下载按钮下载查看
网友评论0