czydojade/resources/ts/components/line.ts
Kacper Donat 66e45c8112 Add lines to destinations
This is useful when we have few different stops, with same destinations and different lines.
2020-02-08 18:36:29 +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);