我见过各种各样的例子/在不同的地方看过......:
-
component documentation(右上角/右下角)
-
FAB Container(右上/中间中间)
-
Fab Button(迷你)
-
FAB List(side = "top" / side = "left")
-
我也知道CSS Utilities(这里没有刮伤我的痒)
但是我还没有看到一个明确的列表,其中列出了可以为 <ion-fab>
指定的放置位置/大小等所有可能的属性 .
Can someone either list them, or point me to where I can see them.
提前谢谢了 . ;-)
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] - 用于将容器放在内容和页眉/页脚之间