首页 文章

Ionic 3 - FAB - 浮动操作按钮 - <ion-fab>可能的位置属性的完整列表

提问于
浏览
1

我见过各种各样的例子/在不同的地方看过......:

但是我还没有看到一个明确的列表,其中列出了可以为 <ion-fab> 指定的放置位置/大小等所有可能的属性 .

Can someone either list them, or point me to where I can see them.

提前谢谢了 . ;-)

1 回答

  • 1

    https://github.com/ionic-team/ionic/blob/master/src/components/fab/fab-container.ts

    • @property [top] - 将容器放在内容的顶部

    • @property [bottom] - 将容器放在内容的底部

    • @property [left] - 将容器放在左侧

    • @property [右] - 将容器放在右侧

    • @property [middle] - 将容器垂直放置在中间位置

    • @property [center] - 将容器水平放置在中心位置

    • @property [edge] - 用于将容器放在内容和页眉/页脚之间

相关问题