Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ ion-spinner,css-prop,--color
ion-split-pane,shadow
ion-split-pane,prop,contentId,string | undefined,undefined,false,true
ion-split-pane,prop,disabled,boolean,false,false,false
ion-split-pane,prop,when,boolean | string,QUERY['lg'],false,false
ion-split-pane,prop,when,boolean | string,'(min-width: 992px)',false,false
ion-split-pane,event,ionSplitPaneVisible,{ visible: boolean; },true
ion-split-pane,css-prop,--border,ios
ion-split-pane,css-prop,--border,md
Expand Down
4 changes: 2 additions & 2 deletions core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ export namespace Components {
"isVisible": () => Promise<boolean>;
/**
* When the split-pane should be shown. Can be a CSS media query expression, or a shortcut expression. Can also be a boolean expression.
* @default QUERY['lg']
* @default '(min-width: 992px)'
*/
"when": string | boolean;
}
Expand Down Expand Up @@ -8683,7 +8683,7 @@ declare namespace LocalJSX {
"onIonSplitPaneVisible"?: (event: IonSplitPaneCustomEvent<{ visible: boolean }>) => void;
/**
* When the split-pane should be shown. Can be a CSS media query expression, or a shortcut expression. Can also be a boolean expression.
* @default QUERY['lg']
* @default '(min-width: 992px)'
*/
"when"?: string | boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/split-pane/split-pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class SplitPane implements ComponentInterface {
* Can be a CSS media query expression, or a shortcut expression.
* Can also be a boolean expression.
*/
@Prop() when: string | boolean = QUERY['lg'];
@Prop() when: string | boolean = '(min-width: 992px)';

/**
* Expression to be called when the split-pane visibility has changed
Expand Down
Loading