Files
ionic-framework/tooling/generators/directive/directive.tmpl.ts
Alex Muramoto 97b57f1b53 Update docs and fix typos (#7776)
* docs(input): fix typo

* docs(scroll): add note about required CSS for scrollY

* docs(config): add swipeBackEnabled to config properties list

* docs(component generator): fix broken link in template comment

* docs(directive generator): fix broken link in template comment
2016-08-18 15:20:25 -04:00

17 lines
392 B
TypeScript

import { Directive } from '@angular/core';
/*
Generated class for the <%= jsClassName %> directive.
See https://angular.io/docs/ts/latest/api/core/index/DirectiveMetadata-class.html
for more info on Angular 2 Directives.
*/
@Directive({
selector: '[<%= fileName %>]' // Attribute selector
})
export class <%= jsClassName %> {
constructor() {
console.log('Hello World');
}
}