Sha256: 43cec8b958b8e33a87db59e303e81eaca02b945a98a67e221a09e2ba5e65a438
Contents?: true
Size: 368 Bytes
Versions: 21
Compression:
Stored size: 368 Bytes
Contents
export default function mockDirective(directiveName, innerContent) { module(function($compileProvider) { $compileProvider.directive(directiveName, function() { var mockDir = { priority: 9999, terminal: true, restrict: 'EAC', template: `<div class='mock'>${innerContent}</div>` }; return mockDir; }); }); }
Version data entries
21 entries across 21 versions & 1 rubygems