redoc/lib/components/SideMenuCat/side-menu-cat.js

20 lines
438 B
JavaScript
Raw Normal View History

2015-10-15 20:06:16 +03:00
'use strict';
import {RedocComponent, BaseComponent} from '../base';
@RedocComponent({
selector: 'side-menu-cat',
inputs: ['catDetails'],
styleUrls: ['./lib/components/SideMenuCat/side-menu-cat.css'],
templateUrl: './lib/components/SideMenuCat/side-menu-cat.html'
})
export class SideMenuCat extends BaseComponent {
constructor(schemaMgr) {
super(schemaMgr);
}
prepareModel() {
this.data = this.catDetails;
}
}