generator-terminus-ui
Version:
A generator for adding new components to the Terminus UI library.
27 lines (22 loc) • 424 B
text/typescript
import {
Directive,
ElementRef,
Input,
} from '@angular/core';
/**
* TODO: Fill this section out
* This is the <%= directiveSelector %> UI Directive
*
* @example
* <div [<%= directiveSelector %>]></div>
*/
({
selector: '[<%= directiveSelector %>]',
})
export class <%= directiveName %> {
constructor(
private elementRef: ElementRef,
) {
console.log(`in <%= directiveName %>!`);
}
}