【问题标题】:How to use DragDropHelper from fluentUI / office-ui-fabric?如何使用 fluentUI / office-ui-fabric 中的 DragDropHelper?
【发布时间】:2020-03-24 12:40:16
【问题描述】:

FluentUI(又名 office-ui-fabric)有一个名为 DragDropHelper 的助手类。不幸的是,没有任何文档,我真的不明白我应该如何使用它。

一个简短的例子将不胜感激。

【问题讨论】:

    标签: office-ui-fabric office-ui-fabric-react


    【解决方案1】:

    你见过this example吗(点击“显示代码”)。

    具体看 _getDragDropEvents 和 _insertBeforeItems 的实现。

    【讨论】:

      猜你喜欢
      • 2021-01-24
      • 1970-01-01
      • 2020-06-30
      • 2017-06-05
      • 2019-03-31
      • 2019-05-30
      • 1970-01-01
      • 2021-04-02
      • 2020-09-13
      相关资源
      最近更新 更多