Skip to content

dynamically change menu side direction when change document direction #9526

@BahgatMashaly

Description

@BahgatMashaly

how to dynamically change menu side direction when change document direction?
i tried to change it manually by this code but it doesn't work
<ion-menu [content]="content" [side]="platform.isRTL()==true?'right':'left'">

also when use this code
<ion-menu [content]="content" [side]="direction" >
it doesn't work when change "direction" variable

thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions