mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
17 lines
384 B
JavaScript
17 lines
384 B
JavaScript
import {Directive} from 'angular2/core';
|
|
|
|
/*
|
|
Generated class for the <%= jsClassName %> directive.
|
|
|
|
See https://angular.io/docs/ts/latest/api/core/DirectiveMetadata-class.html
|
|
for more info on Angular 2 Directives.
|
|
*/
|
|
@Directive({
|
|
selector: '[<%= fileName %>]' // Attribute selector
|
|
})
|
|
export class <%= jsClassName %> {
|
|
constructor() {
|
|
console.log('Hello World');
|
|
}
|
|
}
|