redoc/lib/components/ApiInfo/api-info.js

19 lines
395 B
JavaScript
Raw Normal View History

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