Blame view

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