From 876ca9ee3a7667c3f4aae96a835720c579aaa32f Mon Sep 17 00:00:00 2001 From: Trotyl Yu Date: Wed, 12 Jul 2017 02:58:26 +0800 Subject: [PATCH] docs(aio): fix host usage in styleguide (#17932) --- .../styleguide/src/06-03/app/shared/validator2.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts b/aio/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts index 7936a83cb1..05a0f9f07f 100644 --- a/aio/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts +++ b/aio/content/examples/styleguide/src/06-03/app/shared/validator2.directive.ts @@ -4,7 +4,7 @@ import { Directive } from '@angular/core'; @Directive({ selector: '[tohValidator2]', host: { - 'attr.role': 'button', + '[attr.role]': 'role', '(mouseenter)': 'onMouseEnter()' } })