Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-docs-cn/public/docs/_examples/attribute-directives/ts/app/highlight.directive.1.ts

11 lines
293 B
TypeScript
Raw Normal View History

chore: tslint sweep done
2016-06-13 00:41:33 +02:00
/* tslint:disable:no-unused-variable */
docs(attribute-directives): code shuffle & alpha52 update closes #473
2015-12-10 20:27:41 -08:00
// #docregion
docs: update all docs to partially comply the style-guide
2016-05-03 14:06:32 +02:00
import { Directive, ElementRef, Input } from '@angular/core';
docs(attribute-directives): code shuffle & alpha52 update closes #473
2015-12-10 20:27:41 -08:00
docs(dev guide): attribute-directives - updated dart/ts code and new dart prose Mainly copyedits and prep for extension + example code cleanup & bug fix + fix bug in default color initialization
2016-05-06 07:42:01 -07:00
@Directive({ selector: '[myHighlight]' })
docs(tutorial): Part 3 improvements + input explanation Updated Attribute Directives chapter with appendix on input properties closes #576
2015-12-16 19:38:07 -08:00
export class HighlightDirective {
docs(attribute directives/TS/Dart): remove `Renderer`; improve text closes #757
2016-01-26 13:42:17 -08:00
constructor(el: ElementRef) {
el.nativeElement.style.backgroundColor = 'yellow';
docs(attribute-directives): code shuffle & alpha52 update closes #473
2015-12-10 20:27:41 -08:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 103ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API