mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-10 07:07:56 +08:00
parent
18891d79e9
commit
2805cb8aae
@ -11,7 +11,7 @@ Fix the element to a specific visible area.
|
|||||||
|
|
||||||
Affix is fixed at the top of the page by default.
|
Affix is fixed at the top of the page by default.
|
||||||
|
|
||||||
:::demo You can set `offset` attribute to change the offset top,the default value is 0。
|
:::demo You can set `offset` attribute to change the offset top,the default value is 0.
|
||||||
|
|
||||||
affix/basic
|
affix/basic
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ cascader/filterable
|
|||||||
|
|
||||||
You can customize the content of cascader node.
|
You can customize the content of cascader node.
|
||||||
|
|
||||||
:::demo You can customize the content of cascader node by `scoped slot`. You'll have access to `node` and `data` in the scope, standing for the Node object and node data of the current node respectively。
|
:::demo You can customize the content of cascader node by `scoped slot`. You'll have access to `node` and `data` in the scope, standing for the Node object and node data of the current node respectively.
|
||||||
|
|
||||||
cascader/custom-content
|
cascader/custom-content
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ dialog/basic-usage
|
|||||||
|
|
||||||
## Customized Content
|
## Customized Content
|
||||||
|
|
||||||
The content of Dialog can be anything, even a table or a form. This example shows how to use Element Plus Table and Form with Dialog。
|
The content of Dialog can be anything, even a table or a form. This example shows how to use Element Plus Table and Form with Dialog.
|
||||||
|
|
||||||
:::demo
|
:::demo
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ Besides the native features of img, support lazy load, custom placeholder and lo
|
|||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
:::demo Indicate how the image should be resized to fit its container by `fit`, same as native [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)。
|
:::demo Indicate how the image should be resized to fit its container by `fit`, same as native [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
|
||||||
|
|
||||||
image/basic-usage
|
image/basic-usage
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ table/expandable-row
|
|||||||
|
|
||||||
## Tree data and lazy mode
|
## Tree data and lazy mode
|
||||||
|
|
||||||
:::demo You can display tree structure data. When row contains the `children` field, it is treated as nested data. For rendering nested data, the prop `row-key` is required。Also, child row data can be loaded asynchronously. Set `lazy` property of Table to true and the function `load`. Specify `hasChildren` attribute in row to determine which row contains children. Both `children` and `hasChildren` can be configured via `tree-props`.
|
:::demo You can display tree structure data. When row contains the `children` field, it is treated as nested data. For rendering nested data, the prop `row-key` is required. Also, child row data can be loaded asynchronously. Set `lazy` property of Table to true and the function `load`. Specify `hasChildren` attribute in row to determine which row contains children. Both `children` and `hasChildren` can be configured via `tree-props`.
|
||||||
|
|
||||||
table/tree-and-lazy
|
table/tree-and-lazy
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ tooltip/basic
|
|||||||
|
|
||||||
## Theme
|
## Theme
|
||||||
|
|
||||||
Tooltip has two built-in themes: `dark` and `light`。
|
Tooltip has two built-in themes: `dark` and `light`.
|
||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user