2015-10-07 12:47:57 +03:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
2015-10-07 12:47:57 +03:00
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
@RedocComponent({
|
|
|
|
selector: 'api-info',
|
2015-10-08 23:27:02 +03:00
|
|
|
styleUrls: ['./lib/components/ApiInfo/api-info.css'],
|
2015-10-09 23:19:35 +03:00
|
|
|
templateUrl: './lib/components/ApiInfo/api-info.html'
|
2015-10-07 12:47:57 +03:00
|
|
|
})
|
2015-10-09 23:19:35 +03:00
|
|
|
export class ApiInfo extends BaseComponent {
|
2015-10-07 12:47:57 +03:00
|
|
|
constructor(schemaMgr) {
|
2015-10-09 23:19:35 +03:00
|
|
|
super(schemaMgr);
|
2015-10-07 12:47:57 +03:00
|
|
|
}
|
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
prepareModel() {
|
|
|
|
this.data = this.componentSchema.info;
|
2015-10-07 12:47:57 +03:00
|
|
|
}
|
|
|
|
}
|