vuetify 属性集合
1.v-form 组件具有 three 功能,可以通过在该组件上设置 ref 来访问它们。 ref 允许我们访问组件上的内部方法,例如 <v-form ref="form">。this.$refs.form.validate() 将验证所有输入并返回所有输入是否有效。 this.$refs.form.reset() 将清除所有输入并重置其验证错误。this.$refs.form.resetValidation() 将仅重置输入验证,而不会更改其状态。
2.<v-navigation-drawer> 导航抽屉
3.<v-overlay>遮罩层
4.打印属性类
.d-print-none
.d-print-inline
.d-print-inline-block
.d-print-block
.d-print-table
.d-print-table-row
.d-print-table-cell
.d-print-flex
.d-print-inline-flex
5. col-x 例如:col-2表示两格
text-truncate 超出的省略号显示
6.display 对应的值
.d-{value} for xs
.d-{breakpoint}-{value} for sm, md, lg and xl
value属性可以为下列之一
none
inline
inline-block
block
table
table-cell
table-row
flex
inline-flex
7.display:none 和visibility:hidden同时可以起到隐藏的总用。
不同点:visibility:none依然占据空间
8.边距
{property}{direction}-{size} 例如:mx-2
property:
m- 用来设置外边距
p-用来设置内边距
direction:指定属性所应用的方向
t - 应用 margin-top 和 padding-top 的间距。
b - 应用 margin-bottom 和 padding-bottom 的间距。
l - 适用 margin-left 和 padding-left 的间距。
r - 应用 margin-right 和 padding-right 的间距。
s - 应用 margin-left/padding-left (LTR mode) 和 margin-right/padding-right (RTL mode)
e - 应用 margin-right/padding-right (LTR model) 和 margin-left/padding-left (RTL model)
x - 同时对应*-left和*-right属性
y - 同时对应*-top和*-bottom属性
a - 在所有方向应用该属性的间距。
size:
0 - 消除所有 margin 或者 padding 并设置为 0
1 - 设置 margin 或者 padding 到 4px
2 - 设置 margin 或者 padding 到 8px
3 - 设置 margin 或者 padding 到 12px
4 - 设置 margin 或者 padding 到 16px
5 - 设置 margin 或者 padding 到 20px
6 - 设置 margin 或者 padding 到 24px
7 - 设置 margin 或者 padding 到 28px
8 - 设置 margin 或者 padding 到 32px
9 - 设置 margin 或者 padding 到 36px
10 - 设置 margin 或者 padding 到 40px
11 - 设置 margin 或者 padding 到 44px
12 - 设置 margin 或者 padding 到 48px
n1 - 将负的 margin 设置到 4px
n2 - 将负的 margin 设置到 8px
n3 - 将负的 margin 设置到 12px
n4 - 将负的 margin 设置到 16px
n5 - 将负的 margin 设置到 20px
n6 - 将负的 margin 设置到 24px
n7 - 将负的 margin 设置到 28px
n8 - 将负的 margin 设置到 32px
n9 - 将负的 margin 设置到 36px
n10 - 将负的 margin 设置到 40px
n11 - 将负的 margin 设置到 44px
n12 - 将负的 margin 设置到 48px
auto - 设置边距为 auto
设置竖直水平居中:class="mx-auto my-auto px-auto"
9.purple 紫色
darken- 例如:darken-2
text-"value" 里面有 left center right bottom top
text--"颜色" 例如:text--white
10.elevation 海拔 0-24分25个级别
11.#pannel {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
}
在vuetify中可以定义为 d-flex flex-row
基本的类有:
.d-flex
.d-inline-flex
.d-sm-flex
.d-sm-inline-flex
.d-md-flex
.d-md-inline-flex
.d-lg-flex
.d-lg-inline-flex
.d-xl-flex
.d-xl-inline-flex
12.v-ripple 波纹
<div
v-ripple
class="text-center elevation-2 pa-12 headline"
>
HTML element with v-ripple
</div>
(2) v-ripple="{ center: true }"
vuetify 属性集合的更多相关文章
- Spring中使用Map、Set、List、数组、属性集合的注入方法配置文件
(1)下边的一个Java类包含了所有Map.Set.List.数组.属性集合等这些容器,主要用于演示spring的注入配置: package com.lc.collection; import jav ...
- 【JVM虚拟机】(7)---深入理解Class中-属性集合
#[JVM虚拟机](7)---深入理解Class中-属性集合 之前有关class文件已经写了两篇博客: 1.[JVM虚拟机](5)---深入理解JVM-Class中常量池 2.[JVM虚拟机](6)- ...
- 属性集合java.util.Properties
属性集合java.util.Properties java.util.Properties集合 extends Hashtable<k, v> implements Map<k, v ...
- css3的3d属性集合
css3的3d属性集合 想进入css3的3d世界必须知道一下几个属性及其用法. 当然在进入属性介绍之前我想你必须知道3维坐标,附上一张经典图如下: 我想不用解释了吧.之后要平移和旋转都是在这个基础之上 ...
- Android GridView属性集合
GridView的一些特殊属性: 1.android:numColumns=”auto_fit” //GridView的列数设置为自动 2.android:columnWidth=”90dp &q ...
- UITableView 属性集合
UITableView-------表视图--继承UIScrollView并遵守NSCoding协议 属性 frame-------------设置控件的位置和大小 backgroundColor-- ...
- android之View组件的XML属性集合
XML属性 相关方法 说明 android:alpha setAlpha(float) 设置该组件的透明度 android:background setBackgroundResource(int) ...
- easyui 属性集合
easyUI属性汇总 属性分为CSS片段和JS片段. CSS类定义:1.div easyui-window 生成一个window窗口样式. 属性如下: 1)modal:是否生成模态窗口.true[是] ...
- HTML表单属性集合
随机推荐
- PyQt(Python+Qt)学习随笔:Model/View中的枚举类 Qt.MatchFlag的取值及含义
老猿Python博文目录 专栏:使用PyQt开发图形界面Python应用 老猿Python博客地址 枚举类 Qt.MatchFlag描述在模型中搜索项时可以使用的匹配类型,它可以在QStandardI ...
- PyQt(Python+Qt)入门:Designer组件属性编辑界面中QWidget类相关属性详解
本文适用人员:本文比较长,适合不理解Qt Designer部件属性的人员阅读或资料查找. 声明: 1.如果有人认为本文是简单的复制粘贴+翻译而成,敬请读本文最后的后记: 2.本文为老猿Python学习 ...
- Fiddle抓包应用概述
抓包: 抓包(packet capture)就是将网络传输发送与接收的数据包进行截获.重发.编辑.转存等操作,也用来检查网络安全.抓包也经常被用来进行数据截取等.说简单点就是抓取前端发送给服务器的数据 ...
- 题解 CF1437G Death DBMS
这题感觉不是很难,但是既然放在 \(\texttt{EDU}\) 的 \(\texttt{G}\) 题,那么还是写写题解吧. \(\texttt{Solution}\) 首先看到 "子串&q ...
- HashMap相关类:Hashtable、LinkHashMap、TreeMap
前言 很高兴遇见你~ 在 深入剖析HashMap 文章中我从散列表的角度解析了HashMap,在 深入解析ConcurrentHashMap:感受并发编程智慧 解析了ConcurrentHashMap ...
- 本文帮你在 Unix 下玩转 C 语言
shell是一种特殊的应用程序(命令行解释器),他为运行其他应用程序提供了一个接口. posix规范了操作系统是什么样 每个进程都有一个工作目录(又叫当前目录),相对路径都是从工作目录开始解释. Ct ...
- 实验楼表关系建立 (课程模块·5张表)
实验楼表关系图 from utils.MyBaseModel import Base from django.db import models # # Create your models here. ...
- Electron安装打包指南
当前环境Debian Linux-Deepin 安装Node 直接下载 命令下载 下载 wget https://nodejs.org/dist/v14.15.1/node-v14.15.1-linu ...
- <UnityTheGreat><001>获取指定目录下指定类型的所有文件的名称
#region Environment Windows 10 Unity 2019.4.16f1c1 LTS VSCode 1.52 https://github.com/MirzkisD1Ex0/U ...
- Nginx(四):Keepalived+Nginx 高可用集群
Keepalived+Nginx 高可用集群 (主从模式) 集群架构图 安装keepalived [root@localhost ~]# yum install -y keepalived 查看状态 ...