src/app/download-manager/download-manager.interface.ts
OnInit
Properties |
|
Methods |
deleteContents | ||||||
deleteContents(emitedContents: EmitedContents)
|
||||||
Parameters :
Returns :
void
|
ionViewWillEnter |
ionViewWillEnter()
|
Returns :
any
|
ionViewWillLeave |
ionViewWillLeave()
|
Returns :
any
|
onSortCriteriaChange | ||||||
onSortCriteriaChange(sortAttribute: SortAttribute)
|
||||||
Parameters :
Returns :
void
|
downloadedContents |
downloadedContents:
|
Type : Content[]
|
loader |
loader:
|
Type : any
|
Optional |
storageInfo |
storageInfo:
|
Type : AppStorageInfo
|
import { OnInit } from '@angular/core';
import { Content, ContentDelete } from 'sunbird-sdk';
export interface AppStorageInfo {
usedSpace: number;
availableSpace: number;
}
export interface EmitedContents {
selectedContentsInfo: any;
selectedContents: ContentDelete[];
}
type SortAttribute = [keyof Content];
export interface DownloadManagerPageInterface extends OnInit {
storageInfo: AppStorageInfo;
downloadedContents: Content[];
// loader?: Loading
loader?: any
ionViewWillEnter();
ionViewWillLeave();
deleteContents(emitedContents: EmitedContents): void;
onSortCriteriaChange(sortAttribute: SortAttribute): void;
}