Blame view

build/Divider/Divider.js 370 Bytes
ca196a72   Imshann   优化
1
  import template from "./Divider.html";
fb741cbd   Imshann   优化divider组件
2
  import style from "antd/lib/divider/style/index.css";
ca196a72   Imshann   优化
3
4
5
6
7
8
9
10
11
12
13
  angular.module("esNgAntd").directive("antdDivider", ["esNgAntd", function (esNgAntd) {
    return {
      template: template,
      restrict: "E",
      replace: true,
      transclude: true,
      link: function ($scope) {
        esNgAntd.createStyle("ant-divider", style);
      }
    };
  }]);