We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0878d3e commit a4abea4Copy full SHA for a4abea4
packages/angular/src/lib/cdk/platform-filters/vision-filter.component.ts
@@ -1,11 +1,14 @@
1
/* eslint-disable @angular-eslint/component-selector */
2
+import { NgIf } from '@angular/common';
3
import { Component, Inject } from '@angular/core';
4
import { platformNames, IDevice } from '@nativescript/core';
5
import { DEVICE } from '../../tokens';
6
7
@Component({
8
selector: 'visionos',
9
template: `<ng-content *ngIf="show"></ng-content>`,
10
+ standalone: true,
11
+ imports: [NgIf]
12
})
13
export class VisionOSFilterComponent {
14
public show: boolean;
0 commit comments