mirror of https://github.com/Squidex/squidex.git
2 changed files with 0 additions and 23 deletions
@ -1,22 +0,0 @@ |
|||||
/* |
|
||||
* Squidex Headless CMS |
|
||||
* |
|
||||
* @license |
|
||||
* Copyright (c) Sebastian Stehle. All rights reserved |
|
||||
*/ |
|
||||
|
|
||||
import { Directive, ElementRef, OnInit } from '@angular/core'; |
|
||||
|
|
||||
@Directive({ |
|
||||
selector: '[indeterminate]' |
|
||||
}) |
|
||||
export class IndeterminateDirective implements OnInit { |
|
||||
constructor( |
|
||||
private readonly element: ElementRef |
|
||||
) { |
|
||||
} |
|
||||
|
|
||||
public ngOnInit() { |
|
||||
this.element.nativeElement.indeterminate = true; |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue