mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(ssr): reflect content-id attribute (#20169)
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user