mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
docs(): usage and examples
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# ion-select-popover
|
||||
|
||||
SelectPopover is an internal component that is used for create the popover interface, from a Select component.
|
||||
|
||||
|
||||
<!-- Auto Generated Below -->
|
||||
@ -11,21 +12,29 @@
|
||||
|
||||
string
|
||||
|
||||
Header text for the popover
|
||||
|
||||
|
||||
#### message
|
||||
|
||||
string
|
||||
|
||||
Text for popover body
|
||||
|
||||
|
||||
#### options
|
||||
|
||||
SelectPopoverOption[]
|
||||
|
||||
Array of options for the popover
|
||||
|
||||
|
||||
#### subHeader
|
||||
|
||||
string
|
||||
|
||||
Subheader text for the popover
|
||||
|
||||
|
||||
## Attributes
|
||||
|
||||
@ -33,21 +42,29 @@ string
|
||||
|
||||
string
|
||||
|
||||
Header text for the popover
|
||||
|
||||
|
||||
#### message
|
||||
|
||||
string
|
||||
|
||||
Text for popover body
|
||||
|
||||
|
||||
#### options
|
||||
|
||||
|
||||
|
||||
Array of options for the popover
|
||||
|
||||
|
||||
#### sub-header
|
||||
|
||||
string
|
||||
|
||||
Subheader text for the popover
|
||||
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
@ -11,12 +11,16 @@ import { Mode, SelectPopoverOption } from '../../interface';
|
||||
export class SelectPopover {
|
||||
mode!: Mode;
|
||||
|
||||
/** Header text for the popover */
|
||||
@Prop() header?: string;
|
||||
|
||||
/** Subheader text for the popover */
|
||||
@Prop() subHeader?: string;
|
||||
|
||||
/** Text for popover body */
|
||||
@Prop() message?: string;
|
||||
|
||||
/** Array of options for the popover */
|
||||
@Prop() options: SelectPopoverOption[] = [];
|
||||
|
||||
@Listen('ionSelect')
|
||||
|
Reference in New Issue
Block a user