Blame view

build/Breadcrumb/Breadcrumb.js 489 Bytes
3a3ecabe   Imshann   init
1
2
  import template from "./Breadcrumb.html";
  import style from "antd/lib/breadcrumb/style/index.css";
81f8a467   Imshann   调整组件前缀
3
  angular.module("esNgAntd").directive("antdBreadcrumb", function (esNgAntd) {
3a3ecabe   Imshann   init
4
      return {
81f8a467   Imshann   调整组件前缀
5
          controllerAs: "antdBreadcrumb",
3a3ecabe   Imshann   init
6
7
8
9
10
11
12
13
14
          restrict: "E",
          transclude: true,
          replace: true,
          template: template,
          link: function ($scope, $element, $attrs, $controllers, $transclude) {
              esNgAntd.createStyle("ant-breadcrumb", style);
          },
      };
  });