universal/src/directives/worker-ui-only.directive.ts
Renders the marked element only on worker-ui platforms.
Selector | [workerUiOnly] |
Methods |
|
Protected shouldRender |
shouldRender()
|
Inherited from
PlatformDirective
|
Checks whether the element should be rendered on the current platform.
Returns:
boolean
|
ngOnInit |
ngOnInit()
|
Inherited from
PlatformDirective
|
Checks whether the element should be rendered on the current platform and renders it.
Returns:
void
|