Optional
exportthe name of the directive which is used in the template
a structural directive name should start with *
,
and an attributes directive should not.
Optional
successorsname of possible structure directives successor
Optional
zoneuse manual
for no zone.js patch effect applied,
and used for manual change detection for heavily process components.
use proxy
zone for automatic detect changes without use of zone.js
use aurora
for detection events like rxjs
observables, setTimeout
,
setInterval
and fetch
and XMLHttpRequest
, etc...
make sure that zone.js
is imported in the polyfills module.
if no value specified, the value will be initialized by the custom element web component
zone,
manual
, the directive zone also will be manual
, expect weird behavior.proxy
, the directive zone also will be proxy
.aurora
, the directive zone also will be aurora
and will get the benefit of zone.js
.
export this directive to the HTML template scope,
it can be accessed by the template reference name ex:
in your component