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

Ionic 3 - FAB - Floating Action Button - <ion-fab> Complete list of possible position attributes

我在很多地方看到过各种各样的examples/looked...:[=​​18=]

但我还没有看到所有可能的放置属性的最终列表 locations/size 等你可以将属性分配给 <ion-fab>.

谁能列出它们,或者告诉我在哪里可以看到它们。

非常感谢。 ;-)

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

  • @属性 [top] - 将容器放在内容的顶部
  • @属性 [bottom] - 将容器放在内容的底部
  • @属性 [left] - 将容器放在左侧
  • @属性 [right] - 将容器放在右边
  • @属性 [middle] - 将容器垂直放置在中间
  • @属性 [center] - 将容器水平放置在中心
  • @属性 [edge] - 用于将容器放置在内容和 header/footer
  • 之间