【问题标题】:Ionic 3 - FAB - Floating Action Button - <ion-fab> Complete list of possible position attributesIonic 3 - FAB - 浮动操作按钮 - <ion-fab> 可能位置属性的完整列表
【发布时间】:2017-11-05 10:47:44
【问题描述】:

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

但我还没有看到放置位置/大小等所有可能属性的最终列表,您可以将其作为属性分配给&lt;ion-fab&gt;。

谁能列出它们,或者指出我可以看到它们的地方。

提前非常感谢。 ;-)

【问题讨论】:

    标签: ionic3 floating-action-button


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2023-03-15
      • 2018-03-04
      • 2016-12-12
      • 2019-02-09
      • 2016-07-02
      • 2016-03-15
      • 2017-11-13
      相关资源
      最近更新 更多