mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
docs(menu, split-pane): update contentId docs to be more clear (#23008)
This commit is contained in:
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@ -1225,7 +1225,7 @@ export namespace Components {
|
||||
*/
|
||||
"close": (animated?: boolean) => Promise<boolean>;
|
||||
/**
|
||||
* The content's id the menu should use.
|
||||
* The `id` of the main content. When using a router this is typically `ion-router-outlet`. When not using a router, this is typically your main view's `ion-content`. This is not the id of the `ion-content` inside of your `ion-menu`.
|
||||
*/
|
||||
"contentId"?: string;
|
||||
/**
|
||||
@ -2303,7 +2303,7 @@ export namespace Components {
|
||||
}
|
||||
interface IonSplitPane {
|
||||
/**
|
||||
* The content `id` of the split-pane's main content.
|
||||
* The `id` of the main content. When using a router this is typically `ion-router-outlet`. When not using a router, this is typically your main view's `ion-content`. This is not the id of the `ion-content` inside of your `ion-menu`.
|
||||
*/
|
||||
"contentId"?: string;
|
||||
/**
|
||||
@ -4568,7 +4568,7 @@ declare namespace LocalJSX {
|
||||
}
|
||||
interface IonMenu {
|
||||
/**
|
||||
* The content's id the menu should use.
|
||||
* The `id` of the main content. When using a router this is typically `ion-router-outlet`. When not using a router, this is typically your main view's `ion-content`. This is not the id of the `ion-content` inside of your `ion-menu`.
|
||||
*/
|
||||
"contentId"?: string;
|
||||
/**
|
||||
@ -5625,7 +5625,7 @@ declare namespace LocalJSX {
|
||||
}
|
||||
interface IonSplitPane {
|
||||
/**
|
||||
* The content `id` of the split-pane's main content.
|
||||
* The `id` of the main content. When using a router this is typically `ion-router-outlet`. When not using a router, this is typically your main view's `ion-content`. This is not the id of the `ion-content` inside of your `ion-menu`.
|
||||
*/
|
||||
"contentId"?: string;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user