|
@@ -90,7 +90,7 @@ The Layout component provides a 24-column grid, by adding the span attribute on
|
|
|
```
|
|
```
|
|
|
:::
|
|
:::
|
|
|
|
|
|
|
|
-### Set element spacing
|
|
|
|
|
|
|
+### Column spacing
|
|
|
|
|
|
|
|
:::demo
|
|
:::demo
|
|
|
```html
|
|
```html
|
|
@@ -232,7 +232,7 @@ The Layout component provides a 24-column grid, by adding the span attribute on
|
|
|
|
|
|
|
|
### Row Props
|
|
### Row Props
|
|
|
|
|
|
|
|
-| Field | Description | Type | Default
|
|
|
|
|
|
|
+| Attribute | Description | Type | Default
|
|
|
|----- | ----- | ----- | -----
|
|
|----- | ----- | ----- | -----
|
|
|
| type | layout method, optional value is `flex` | string | `-`
|
|
| type | layout method, optional value is `flex` | string | `-`
|
|
|
| gutter | spacing between column elements (`px`) | string \| number | `-`
|
|
| gutter | spacing between column elements (`px`) | string \| number | `-`
|
|
@@ -242,19 +242,19 @@ The Layout component provides a 24-column grid, by adding the span attribute on
|
|
|
|
|
|
|
|
### Col Props
|
|
### Col Props
|
|
|
|
|
|
|
|
-| Field | Description | Type | Default
|
|
|
|
|
|
|
+| Attribute | Description | Type | Default
|
|
|
|----- | ----- | ----- | -----
|
|
|----- | ----- | ----- | -----
|
|
|
| span | column element width (divided into 24 parts in total, for example, if there are 3 in a row, then the span value is 8) | string \| number | `24`
|
|
| span | column element width (divided into 24 parts in total, for example, if there are 3 in a row, then the span value is 8) | string \| number | `24`
|
|
|
| offset | column element offset distance | string \| number | `0`
|
|
| offset | column element offset distance | string \| number | `0`
|
|
|
|
|
|
|
|
### Row Events
|
|
### Row Events
|
|
|
|
|
|
|
|
-| field | description | callback parameter
|
|
|
|
|
|
|
+| event | description | callback parameter
|
|
|
|----- | ----- | -----
|
|
|----- | ----- | -----
|
|
|
| click | Triggered when clicked | `event: MouseEvent`
|
|
| click | Triggered when clicked | `event: MouseEvent`
|
|
|
|
|
|
|
|
### Col Events
|
|
### Col Events
|
|
|
|
|
|
|
|
-| field | description | callback parameter
|
|
|
|
|
|
|
+| name | description | callback parameter
|
|
|
|----- | ----- | -----
|
|
|----- | ----- | -----
|
|
|
| click | Triggered when clicked | `event: MouseEvent`
|
|
| click | Triggered when clicked | `event: MouseEvent`
|