mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(m3u-collection-route): add M3uCollectionRouteComponent for unified collection page integration
This commit is contained in:
1 parent
4a7855895b
commit
c0849ad43b
2 files changed
+23
No files matched your search
@@ -1 +1,2 @@
|
||||
export * from './lib/m3u-collection-route/m3u-collection-route.component';
|
||||
export * from './lib/video-player/video-player.component';
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
input,
|
||||
} from '@angular/core';
|
||||
import { UnifiedCollectionPageComponent } from '@iptvnator/portal/shared/ui';
|
||||
|
||||
@Component({
|
||||
selector: 'app-m3u-collection-route',
|
||||
imports: [UnifiedCollectionPageComponent],
|
||||
template: `
|
||||
<app-unified-collection-page
|
||||
[mode]="mode()"
|
||||
[portalType]="portalType()"
|
||||
/>
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class M3uCollectionRouteComponent {
|
||||
readonly mode = input<'favorites' | 'recent'>('favorites');
|
||||
readonly portalType = input('m3u');
|
||||
}
|
||||
Reference in new issue
Block a user