Skip to content

Commit

Permalink
update 2020-06-23
Browse files Browse the repository at this point in the history
  • Loading branch information
lavrton committed Jun 23, 2020
1 parent 92cd18c commit ce64dbf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 38 deletions.
19 changes: 0 additions & 19 deletions jsdoc-new.json

This file was deleted.

6 changes: 1 addition & 5 deletions jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"outputSourcePath": true,
"systemName": "Konva",
"footer": "",
"copyright": "Konva Copyright © 2015 The contributors to the Konva project.",
"copyright": "Konva Copyright © 2020 The contributors to the Konva project.",
"navType": "vertical",
"linenums": true,
"collapseSymbols": false,
Expand All @@ -25,10 +25,6 @@
"search": false
},
"highlightTutorialCode": true,
"analytics": {
"ua": "UA-54202824-2",
"domain": "https://konvajs.org"
},
"outputSourceFiles": false
},
"markdown": {
Expand Down
2 changes: 0 additions & 2 deletions themes/hexo3/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ vue_sidebar:
Simple Animations: vue/Simple_Animations.html
Cache: vue/Cache.html

google_analytics: UA-54202824-2
fb_admins:
swiftype_key: rRaQRFqx1DcWDDysdpg_
twitter: lavrton
github: konvajs/konva
28 changes: 16 additions & 12 deletions vue-demos/simple_animations/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
<template>
<v-stage ref="stage" :config="stageSize">
<v-layer ref="layer">
<v-rect
ref="rect"
@dragstart="changeSize"
@dragend="changeSize"
:config="{
<v-stage ref="stage" :config="stageSize">
<v-layer ref="layer">
<v-rect
ref="rect"
@dragstart="changeSize"
@dragend="changeSize"
:config="{
width: 50,
height: 50,
fill: 'green',
draggable: true
}"
/>
<v-regular-polygon ref="hexagon" :config="{
/>
<v-regular-polygon
ref="hexagon"
:config="{
x: 200,
y: 200,
sides: 6,
radius: 20,
fill: 'red',
stroke: 'black',
strokeWidth: 4
}" />
</v-layer>
</v-stage>
}"
/>
</v-layer>
</v-stage>
</template>

<script>
import Konva from "konva";
const width = window.innerWidth;
const height = window.innerHeight;
Expand Down

0 comments on commit ce64dbf

Please sign in to comment.