mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
docs(action-sheet): document custom properties (#16250)
references #14850
This commit is contained in:
@ -4,6 +4,10 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
|
/**
|
||||||
|
* @prop --width: Width of the action sheet
|
||||||
|
* @prop --max-width: Maximum width of the action sheet
|
||||||
|
*/
|
||||||
--width: #{$action-sheet-width};
|
--width: #{$action-sheet-width};
|
||||||
--max-width: #{$action-sheet-max-width};
|
--max-width: #{$action-sheet-max-width};
|
||||||
|
|
||||||
|
@ -94,6 +94,14 @@ Type: `Promise<void>`
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## CSS Custom Properties
|
||||||
|
|
||||||
|
| Name | Description |
|
||||||
|
| ------------- | --------------------------------- |
|
||||||
|
| `--max-width` | Maximum width of the action sheet |
|
||||||
|
| `--width` | Width of the action sheet |
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
*Built with [StencilJS](https://stenciljs.com/)*
|
*Built with [StencilJS](https://stenciljs.com/)*
|
||||||
|
Reference in New Issue
Block a user