czydojade/front/resources/ts/components/line.ts
2020-11-01 17:57:06 +01:00

15 lines
354 B
TypeScript

import Vue from 'vue'
import { Component, Prop } from 'vue-property-decorator'
import { Line } from "../model";
@Component({ template: require('../../components/line.html' )})
export class LineComponent extends Vue {
@Prop(Object)
public line: Line;
@Prop(Boolean)
public simple: boolean;
}
Vue.component('LineSymbol', LineComponent);