vue-golden-layout
Version:
Integration of the golden-layout to Vue
21 lines (20 loc) • 607 B
text/typescript
import { Watch, Component, Prop, Emit, Provide, Inject } from 'vue-property-decorator'
import { goldenChild } from '../roles'
import { defaultTitler, RouteComponentName } from './utils'
import glRouteBase from './gl-route-base'
import Vue from 'vue'
export default class glComponentRoute extends glRouteBase {
() component: typeof Vue
getChildConfig(): any {
return {
type: 'component',
title: this.compTitle,
isClosable: this.closable,
reorderEnabled: this.reorderEnabled,
componentName: RouteComponentName,
componentState: this.location
};
}
render(v : any) {}
}