Blame view

build/Divider/Divider.js 370 Bytes
3a3ecabe   Imshann   init
1
  import style from "antd/lib/divider/style/index.css";
ca196a72   Imshann   优化
2
3
4
5
6
7
8
9
10
11
12
13
  import template from "./Divider.html";
  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);
      }
    };
  }]);