Web前端开发网

fly63.com

首页 资源 工具 文章 教程 栏目
  • 关于我们
  • 网站投稿
  • 赞助一下

关闭

搜索

在线工具_工作生活好帮手

打造各种简单、易用、便捷的在线工具,网友无需注册和下载安装即可使用

点击查看

资源分类

AI智能 酷站推荐 招聘/兼职 框架/库 模块/管理 移动端UI框架 Web-UI框架 Js插件 Jquery插件 CSS相关 IDE环境 在线工具 图形动效 游戏框架 node相关 调试/测试 在线学习 社区/论坛 博客/团队 前端素材 图标/图库 建站资源 设计/灵感 IT资讯
提交资源 / 链接反馈

Vodal
分享
复制链接
新浪微博
QQ 好友

扫一扫分享

网站地址:https://chenjiahan.github.io/vodal/
GitHub:https://github.com/chenjiahan/vodal
网站描述:带有动画的 Vue 模态框
访问官网 GitHub


一款带有动画的vue模态框。


安装

npm i -S vodal


使用

<vodal :show="show" animation="rotate" @hide="show = false">
<div>A vue modal with animations.</div>
</vodal>
import Vue from 'vue';
import Vodal from 'vodal';

Vue.component(Vodal.name, Vodal);

export default {
name: 'app',

data() {
return {
show: false
}
}
}
@import "vodal/common.css";
@import "vodal/rotate.css";


属性

PropertyTypeDefaultDescription
widthnumber400width of dialog
heightnumber240height of dialog
measurestringpxmeasure of width and height
showboolfalsewhether to show dialog
maskbooltruewhether to show mask
closeButtonbooltruewhether to show close button
closeonEscboolfalsewhether close dialog when esc pressed
closeOnClickMaskbooltruewhether close dialog when mask clicked
animationstringzoomanimation type
durationnumber300animation duration
classNamestring/className for the container
customStylesobject/custom dialog styles
customMaskStylesobject/custom mask styles

事件

NameDescription
hidetriggers when dialog will hide
clickMasktriggers when mask clicked


仅供个人学习参考/导航指引使用,具体请以第三方网站说明为准,本站不提供任何专业建议。如果地址失效或描述有误,请联系站长反馈~感谢您的理解与支持!

链接: https://fly63.com/nav/3806

more>>
相关栏目
Materialize
基于Material Design的现代响应式前端框架
官网 GitHub
Element UI
一套基于 Vue 2.0 的桌面端组件库
官网 GitHub
Material Design(MDB)
领先的Bootstrap UI套件之一
点击进入
Muse-UI
基于 Vue2.0 的 Material Design UI 库
官网 GitHub
sb-admin
基于Bootstrap简约美观的后台管理模板
官网 GitHub
Vue-Access-Control
Vue权限管理解决方案
官网 GitHub
RmlUI
桌面端GUI开发框架
官网 GitHub
kitty-ui
基于 Vue + Element 实现的权限管理系统
点击进入 GitHub
vue-multiselect
Vue.js 打造的下拉组件
官网 GitHub
Structor
先进的React GUI编辑器
点击进入 GitHub
lulu ui
基于jQuery,针对PC网站,兼容IE7+的前端UI框架
官网 GitHub
Ant Design
是一个致力于提升『用户』和『设计者』使用体验的中台设计语言
官网 GitHub
vue-design-system
一个用于基于 Vue.js 构建 UI 设计系统的开源工具
官网 GitHub
Tauri
使用Web前端构建更小,更快,更安全的桌面应用
官网 GitHub
Element Plus
基于 Vue 3,面向设计师和开发者的组件库
官网 GitHub
vue-blu
基于Vuejs和Bulma开发的开源UI组件库
官网 GitHub
首页 技术导航 在线工具 技术文章 教程资源 AI工具集 前端库/框架 实用工具箱

Copyright © 2018 Web前端开发网提供免费在线工具、编程学习资源(教程/框架/库),内容以学习参考为主。All Rights Reserved. 网站备案号:蜀ICP备13022973号

手机预览