mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore(docs): adding lang field for markdowns (#4005)
- Add lang field for all *.md files' frontmatters
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Affix
|
||||
|
||||
Fix the element to a specific visible area.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Alert
|
||||
|
||||
Displays important alert messages.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Avatar
|
||||
|
||||
Avatars can be used to represent people or objects. It supports images, Icons, or characters.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Backtop
|
||||
|
||||
A button to back to top
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Badge
|
||||
|
||||
A number or status mark on buttons and icons.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Border
|
||||
|
||||
We standardize the borders that can be used in buttons, cards, pop-ups and other components.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Breadcrumb
|
||||
|
||||
Displays the location of the current page, making it easier to browser back.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Button
|
||||
|
||||
Commonly used button.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Calendar
|
||||
|
||||
Display date.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Card
|
||||
|
||||
Integrate information in a card container.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Carousel
|
||||
|
||||
Loop a series of images or texts in a limited space
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Cascader
|
||||
|
||||
If the options have a clear hierarchical structure, Cascader can be used to view and select them.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Checkbox
|
||||
|
||||
A group of options for multiple choices.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Collapse
|
||||
|
||||
Use Collapse to store contents.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# ColorPicker
|
||||
|
||||
ColorPicker is a color selector supporting multiple color formats.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Color
|
||||
|
||||
Element Plus uses a specific set of palettes to specify colors to provide a consistent look and feel for the products you build.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Config Provider
|
||||
locale: en-US
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Config Provider
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Container
|
||||
|
||||
Container components for scaffolding basic structure of the page:
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# DatePicker
|
||||
|
||||
Use Date Picker for date input.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# DateTimePicker
|
||||
|
||||
Select date and time in one picker.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Descriptions
|
||||
|
||||
Display multiple fields in list form.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Dialog
|
||||
|
||||
Informs users while preserving the current page state.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Divider
|
||||
|
||||
The dividing line that separates the content.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Drawer
|
||||
|
||||
Sometimes, `Dialog` does not always satisfy our requirements, let's say you have a massive form, or you need space to display something like `terms & conditions`, `Drawer` has almost identical API with `Dialog`, but it introduces different user experience.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Dropdown
|
||||
|
||||
Toggleable menu for displaying lists of links and actions.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
## Empty
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Empty
|
||||
|
||||
Placeholder hints for empty states.
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Form
|
||||
|
||||
Form consists of `input`, `radio`, `select`, `checkbox` and so on. With form, you can collect, verify and submit data.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Icon
|
||||
|
||||
Element Plus provides a set of common icons.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Image
|
||||
|
||||
Besides the native features of img, support lazy load, custom placeholder and load failure, etc.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Infinite Scroll
|
||||
|
||||
Load more data while reach bottom of the page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Input Number
|
||||
|
||||
Input numerical values with a customizable range.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# Input
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Input
|
||||
|
||||
Input data using mouse or keyboard.
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Layout
|
||||
|
||||
Quickly and easily create layouts with the basic 24-column.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Link
|
||||
|
||||
Text hyperlink
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Loading
|
||||
|
||||
Show animation while loading data.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Menu
|
||||
|
||||
Menu that provides navigation for your website.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Message Box
|
||||
|
||||
A set of modal boxes simulating system message box, mainly for alerting information, confirm operations and prompting messages.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Message
|
||||
|
||||
Used to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Notification
|
||||
|
||||
Displays a global notification message at a corner of the page.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Page Header
|
||||
|
||||
If path of the page is simple, it is recommended to use PageHeader instead of the Breadcrumb.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Pagination
|
||||
|
||||
If you have too much data to display in one page, use pagination.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Popconfirm
|
||||
|
||||
A simple confirmation dialog of an element click action.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Popover
|
||||
|
||||
## Basic usage
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Progress
|
||||
|
||||
Progress is used to show the progress of current operation, and inform the user the current status.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
## Radio
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Radio
|
||||
|
||||
Single selection among multiple options.
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Rate
|
||||
|
||||
Used for rating
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Result
|
||||
|
||||
Used to give feedback on the result of user's operation or access exception.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Scrollbar
|
||||
|
||||
Used to replace the browser's native scrollbar.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# <ElBadge value="beta">Select V2 virtualized selector</ElBadge>
|
||||
|
||||
:::tip
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Select
|
||||
|
||||
When there are plenty of options, use a drop-down menu to display and select desired ones.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Skeleton
|
||||
|
||||
When loading data, and you need a rich experience for visual and interactions for your end users, you can choose `skeleton`.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Slider
|
||||
|
||||
Drag the slider within a fixed range.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Space
|
||||
|
||||
Even though we have [Divider](/en-US/component/divider), but sometimes we need more than one [Divider](/en-US/component/divider) to split the elements apart, so we stack each elements upon [Divider](/en-US/component/divider), but doing so not only makes our code ugly but also makes it difficult to maintain. **Space** is this kind of component provides us both productivity and elegance.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Steps
|
||||
|
||||
Guide the user to complete tasks in accordance with the process. Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Switch
|
||||
|
||||
Switch is used for switching between two opposing states.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Table
|
||||
|
||||
Display multiple data with similar format. You can sort, filter, compare your data in a table.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Tabs
|
||||
|
||||
Divide data collections which are related yet belong to different types.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Tag
|
||||
|
||||
Used for marking and selection.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# TimePicker
|
||||
|
||||
Use Time Picker for time input.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# TimeSelect
|
||||
|
||||
Use Time Select for time input.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Timeline
|
||||
|
||||
Visually display timeline.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Tooltip
|
||||
|
||||
Display prompt information for mouse hover.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Transfer
|
||||
|
||||
## Customizable
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# <ElBadge value="beta">Tree V2 virtualized tree</ElBadge>
|
||||
|
||||
Tree view with blazing fast scrolling performance for any amount of data
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Tree
|
||||
|
||||
Display a set of data with hierarchies.
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
## Typography
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Typography
|
||||
|
||||
We create a font convention to ensure the best presentation across different platforms.
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Upload
|
||||
|
||||
Upload files by clicking or drag-and-drop
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: 'Changelog'
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Design
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Internationalization
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Internationalization
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Installation
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Installation
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Migration
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Migration
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Navigation
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Quick Start
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Quick Start
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Theming
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Custom theme
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Built-in Transitions
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Built-in Transition
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: A Desktop UI Toolkit for Web
|
||||
page: true
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
<ClientOnly>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
page: true
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
Reference in New Issue
Block a user