ipsos-components
Version:
Material Design components for Angular
37 lines (35 loc) • 702 B
text/typescript
import {Component} from '@angular/core';
/**
* @title List with sections
*/
({
selector: 'list-sections-example',
styleUrls: ['list-sections-example.css'],
templateUrl: 'list-sections-example.html',
})
export class ListSectionsExample {
folders = [
{
name: 'Photos',
updated: new Date('1/1/16'),
},
{
name: 'Recipes',
updated: new Date('1/17/16'),
},
{
name: 'Work',
updated: new Date('1/28/16'),
}
];
notes = [
{
name: 'Vacation Itinerary',
updated: new Date('2/20/16'),
},
{
name: 'Kitchen Remodel',
updated: new Date('1/18/16'),
}
];
}