Blame view

build/BreadcrumbItem/BreadcrumbItem.js 415 Bytes
3a3ecabe   Imshann   init
1
  import template from "./BreadcrumbItem.html";
f886eef1   Imshann   优化Alert、Breadcrumb
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  angular.module("esNgAntd").directive("antdBreadcrumbItem", ["esNgAntd", function (esNgAntd) {
    return {
      template: template,
      restrict: "E",
      replace: true,
      transclude: true,
      scope: {
        href: "@"
      },
      link: function ($scope, $element, $attrs, $controllers, $transclude) {
        esNgAntd.clearAttribute($element[0], ["href"]);
      }
    };
  }]);