mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 02:09:30 +00:00
DEV: supports inline for d-menu (#26742)
`<DMenu @inline={{true}} ...>...</DMenu>` will render the body relative to the trigger instead of rendering it in a portal.
This commit is contained in:
parent
9f8091abf0
commit
be96295c25
@ -69,6 +69,7 @@ export const MENU = {
|
|||||||
onShow: null,
|
onShow: null,
|
||||||
onRegisterApi: null,
|
onRegisterApi: null,
|
||||||
modalForMobile: false,
|
modalForMobile: false,
|
||||||
|
inline: null,
|
||||||
},
|
},
|
||||||
portalOutletId: "d-menu-portal-outlet",
|
portalOutletId: "d-menu-portal-outlet",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user