Skip to content

Commit a4abea4

Browse files
committed
feat: standalone visionos filter
1 parent 0878d3e commit a4abea4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/angular/src/lib/cdk/platform-filters/vision-filter.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
/* eslint-disable @angular-eslint/component-selector */
2+
import { NgIf } from '@angular/common';
23
import { Component, Inject } from '@angular/core';
34
import { platformNames, IDevice } from '@nativescript/core';
45
import { DEVICE } from '../../tokens';
56

67
@Component({
78
selector: 'visionos',
89
template: `<ng-content *ngIf="show"></ng-content>`,
10+
standalone: true,
11+
imports: [NgIf]
912
})
1013
export class VisionOSFilterComponent {
1114
public show: boolean;

0 commit comments

Comments
 (0)