public get classes(): string[] {
const deviceType = this.isMobile ? 'mobile' : 'desktop';
return [deviceType];
}
public get classes(): string[] {
const type = `${this.type}`;
return [type];
}
public get classes(): string[] {
const type = `${this.type}`;
const deviceType = this.isMobile ? 'mobile' : 'desktop';
return [type, deviceType];
}
getClasses(): string[] {
const classes = [];
switch (this.data.status) {
case 'unread':
classes.push('unread');
break;
case 'read':
classes.push('read');
break;
case 'archived':
classes.push('archived');
break;
}
return classes;
}