-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96e2fed
commit fbd229d
Showing
3 changed files
with
44 additions
and
70 deletions.
There are no files selected for viewing
33 changes: 26 additions & 7 deletions
33
projects/demo/src/modules/info/browsers/browsers.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {NgFor, NgIf} from '@angular/common'; | ||
import {ChangeDetectionStrategy, Component} from '@angular/core'; | ||
import {TuiDocPageModule} from '@taiga-ui/addon-doc'; | ||
|
||
@Component({ | ||
standalone: true, | ||
selector: 'browsers', | ||
imports: [TuiDocPageModule], | ||
selector: 'browser-support', | ||
imports: [TuiDocPageModule, NgFor, NgIf], | ||
templateUrl: './browsers.template.html', | ||
styleUrls: ['./browsers.style.less'], | ||
changeDetection, | ||
styles: ['td {width: 18.75rem}'], | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export default class BrowsersComponent {} | ||
export default class BrowserSupportComponent { | ||
readonly desktopBrowsers = [ | ||
{name: 'Google Chrome', version: '88+'}, | ||
{name: 'Mozilla Firefox', version: '120+'}, | ||
{name: 'Safari', version: '13.1+'}, | ||
{name: 'Opera', version: '74+'}, | ||
{name: 'Edge', version: '88+'}, | ||
{name: 'Yandex Browser', version: '21.2+'}, | ||
{name: 'Microsoft Internet Explorer', version: null}, | ||
] as const; | ||
|
||
readonly mobileBrowsers = [ | ||
{name: 'Google Chrome', version: '88+'}, | ||
{name: 'Mozilla Firefox', version: '120+'}, | ||
{name: 'Safari', version: '13.4+'}, | ||
{name: 'Opera', version: '63+'}, | ||
{name: 'Samsung Mobile', version: '15+'}, | ||
{name: 'Yandex Browser', version: '21.2+'}, | ||
]; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters