1

我正在使用角材料组件“mat-expansion-panel”。此组件的默认打开方向是向下。我希望面板以不同的方向(左、右、上)打开我该怎么做。

4

1 回答 1

1

只有一种打开方式mat-expansion-panel。它的默认性质是向下打开的,因为下拉有效。但是,如果您想在左侧或右侧打开它,则可以使用侧栏。

https://material.angular.io/components/sidenav/examples

于 2020-09-16T12:08:17.870 回答