mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
docs(action-sheet): document custom properties (#16250)
references #14850
This commit is contained in:
@ -4,6 +4,10 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
/**
|
||||
* @prop --width: Width of the action sheet
|
||||
* @prop --max-width: Maximum width of the action sheet
|
||||
*/
|
||||
--width: #{$action-sheet-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/)*
|
||||
|
Reference in New Issue
Block a user