1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

13 lines
285 B
JavaScript
Raw Normal View History

2020-02-19 10:22:32 +01:00
Application.Directives.directive('postRender', [ '$timeout',
function ($timeout) {
return ({
restrict: 'A',
terminal: false,
transclude: false,
link: function (scope, element, attrs) {
$timeout(scope[attrs.postRender], 0);
}
});
}
]);