()
| 150 | |
| 151 | @Watch('side') |
| 152 | protected sideChanged() { |
| 153 | this.isEndSide = isEnd(this.side); |
| 154 | /** |
| 155 | * Menu direction animation is calculated based on the document direction. |
| 156 | * If the document direction changes, we need to create a new animation. |
| 157 | */ |
| 158 | this.animation = undefined; |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * If `true`, swiping the menu is enabled. |