mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 08:13:01 +00:00
RectPad -> RectangleCanvas
This commit is contained in:
parent
ba066c5779
commit
f3a73f8ad0
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
||||||
</div>
|
</div>
|
||||||
<figure class="image">
|
<figure class="image">
|
||||||
<img src="@/assets/adventskalender.jpg" />
|
<img src="@/assets/adventskalender.jpg" />
|
||||||
<RectPad ref="rect_pad" />
|
<RectangleCanvas ref="rect_pad" />
|
||||||
</figure>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
@ -17,11 +17,11 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Vue, Options } from "vue-class-component";
|
import { Vue, Options } from "vue-class-component";
|
||||||
import { Rectangle } from "../rects/rectangles";
|
import { Rectangle } from "../rects/rectangles";
|
||||||
import RectPad from "./RectangleCanvas.vue";
|
import RectangleCanvas from "./RectangleCanvas.vue";
|
||||||
|
|
||||||
@Options({
|
@Options({
|
||||||
components: {
|
components: {
|
||||||
RectPad,
|
RectangleCanvas,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
rectangles: Array,
|
rectangles: Array,
|
||||||
|
@ -32,7 +32,7 @@ export default class extends Vue {
|
||||||
private rectangles!: Rectangle[];
|
private rectangles!: Rectangle[];
|
||||||
|
|
||||||
declare $refs: {
|
declare $refs: {
|
||||||
rect_pad: RectPad;
|
rect_pad: RectangleCanvas;
|
||||||
};
|
};
|
||||||
|
|
||||||
public mounted() {
|
public mounted() {
|
||||||
|
|
Loading…
Reference in a new issue