NgbTooltipModule,
} from '@ng-bootstrap/ng-bootstrap'
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
+import { delay, of } from 'rxjs'
import {
DEFAULT_DISPLAY_FIELDS,
DisplayField,
popoverHidden = true
ngAfterViewInit(): void {
- setInterval(() => {
- this.show = true
- }, 100)
+ of(true)
+ .pipe(delay(50))
+ .subscribe(() => {
+ this.show = true
+ })
}
get searchScoreClass() {
NgbTooltipModule,
} from '@ng-bootstrap/ng-bootstrap'
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
-import { map } from 'rxjs/operators'
+import { of } from 'rxjs'
+import { delay, map } from 'rxjs/operators'
import {
DEFAULT_DISPLAY_FIELDS,
DisplayField,
@ViewChild('popupPreview') popupPreview: PreviewPopupComponent
ngAfterViewInit(): void {
- setInterval(() => {
- this.show = true
- }, 50)
+ of(true)
+ .pipe(delay(50))
+ .subscribe(() => {
+ this.show = true
+ })
}
getIsThumbInverted() {