QSkeleton 组件用于在加载实际页面数据之前显示内容的占位预览。这是一种很好的方式,可以在页面完全加载之前告知用户页面内容,并提升感知性能。可以在获取数据时,在屏幕上逐步显示信息。
¥The QSkeleton is a component for displaying a placeholder preview of your content before you load the actual page data. It’s a nice way of informing the user of what to expect from the page before it is fully loaded and increases the perceived performance. It can be used to incrementally display information on screen as data is being fetched.
用法(Usage)
¥Usage
预定义类型(Predefined types)
¥Predefined types
下面你可以看到预定义的类型。有一些基本类型(文本、矩形、圆形)以及一些特殊的便捷类型,可以精确匹配 Quasar 组件的大小和边框半径。
¥Below you can see the predefined types. There are some basic types (text, rect, circle) and also some special convenience types that accurately respect Quasar components size and border radius.
动画(Animations)
¥Animations
尺寸(Sizing)
¥Sizing
样式(Styling)
¥Styling
秘诀(Recipes)
¥Recipes
享受一些预先制作的秘诀。你的想象力是唯一的限制。
¥Enjoy some pre-made recipes. Your imagination is the only limit.