Skip to content

Commit

Permalink
fix(ssr): reflect content-id attribute (#20169)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
  • Loading branch information
adamdbradley and brandyscarney committed Jan 9, 2020
1 parent 53fad97 commit 3aa47e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/api.txt
Expand Up @@ -613,10 +613,10 @@ ion-loading-controller,method,dismiss,dismiss(data?: any, role?: string | undefi
ion-loading-controller,method,getTop,getTop() => Promise<HTMLIonLoadingElement | undefined>

ion-menu,shadow
ion-menu,prop,contentId,string | undefined,undefined,false,false
ion-menu,prop,contentId,string | undefined,undefined,false,true
ion-menu,prop,disabled,boolean,false,false,false
ion-menu,prop,maxEdgeStart,number,50,false,false
ion-menu,prop,menuId,string | undefined,undefined,false,false
ion-menu,prop,menuId,string | undefined,undefined,false,true
ion-menu,prop,side,"end" | "start",'start',false,true
ion-menu,prop,swipeGesture,boolean,true,false,false
ion-menu,prop,type,string | undefined,undefined,false,false
Expand Down Expand Up @@ -1116,7 +1116,7 @@ ion-spinner,prop,paused,boolean,false,false,false
ion-spinner,css-prop,--color

ion-split-pane,shadow
ion-split-pane,prop,contentId,string | undefined,undefined,false,false
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,event,ionSplitPaneVisible,{ visible: boolean; },true
Expand Down
4 changes: 2 additions & 2 deletions core/src/components/menu/menu.tsx
Expand Up @@ -49,12 +49,12 @@ export class Menu implements ComponentInterface, MenuI {
/**
* The content's id the menu should use.
*/
@Prop() contentId?: string;
@Prop({ reflectToAttr: true }) contentId?: string;

/**
* An id for the menu.
*/
@Prop() menuId?: string;
@Prop({ reflectToAttr: true }) menuId?: string;

/**
* The display type of the menu.
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/split-pane/split-pane.tsx
Expand Up @@ -31,7 +31,7 @@ export class SplitPane implements ComponentInterface {
/**
* The content `id` of the split-pane's main content.
*/
@Prop() contentId?: string;
@Prop({ reflectToAttr: true }) contentId?: string;

/**
* If `true`, the split pane will be hidden.
Expand Down

0 comments on commit 3aa47e6

Please sign in to comment.