Skip to content

Commit 03a75e2

Browse files
committed
Updated Collapse docs.
1 parent c4645ce commit 03a75e2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/docs/Collapse.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ Sets the `style` of the `background-color` when tab is not the Active tab. Use H
4242
- **`HoverColor`: `string { get; set; }` (default: "WhiteSmoke") - Required** <br />
4343
Sets the `style` of the `background-color` when button is hovered over with mouse. Use HTML specified: **Color Names**, **RGB**, **HEX** or with **HSL** values.
4444
- **`ContentHeight`: `int { get; set; }` (default: 200) - Required** <br />
45-
Sets the height of Content panel in `px`. 0 is auto.
45+
Sets the height (in reality sets max-height because of CSS transition issues) of Content panel in `px`. 0 is auto.
46+
- **`MaxAllowedContentHeight`: `int { get; set; }` (default: 200) - Required** <br />
47+
Sets the max-height if Content panel `ContentHeight` is set to 0 (auto).
4648
- **`Animate`: `bool { get; set; }` (default: true)** <br />
4749
Determines to apply CSS animation and transition on Collapse state changes or not.
48-
**Note: in case of `auto` height some animation won't work.**
50+
**Note: in case of Content panel `ContentHeight` is set to 0 (auto), then use `MaxAllowedContentHeight` to set max-height CSS property which will be animated.
51+
Also important based on max-height value transition speed for expand/collapse might differ!.**
4952
- **`Disabled`: `bool { get; set; }` (default: false)** <br />
5053
Determines whether the rendered HTML `<input>` element should be disabled or not.
5154
- **`InnerElementReference`: `ElementReference { get; }`** <br />

0 commit comments

Comments
 (0)