Forked from: FumioNonaka's Vue.js + ES6: Radar chart with SVG controlled dyna View Diff (5)

Fork
0
Fav
0
View
320
  • Play

Fullscreen

Smart Phone

  • Readme
  • ES6 97 lines
  • HTML 35 lines
  • CSS 27 lines

追加と削除が繰り返される配列要素のオブジェクトに一意のid番号を振る

配列要素のオブジェクトに一意のid番号を振りたい場合がある。データの追加や削除が繰り返されるとき、新たなデータの一意の数値をどのようにして求めるかが課題。

空き番号を探して使う」作例


How to assign unique ids for data which are continually added and deleted. The getNewId() method returns the next unique id. Based on "SVG Graph Example" in Vue.js official site, the code is revised and refined.

  • Vue.js + ES6: Radar chart with unique ids for data
  • Vue.js + ES6: Radar chart with unique ids for data

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags