Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

【Vue.js】vue-color(カラーピッカー)使ってみる #10

Closed
kyoruni opened this issue Feb 14, 2020 · 7 comments · Fixed by #11
Closed

【Vue.js】vue-color(カラーピッカー)使ってみる #10

kyoruni opened this issue Feb 14, 2020 · 7 comments · Fixed by #11

Comments

@kyoruni
Copy link
Owner

kyoruni commented Feb 14, 2020

No description provided.

kyoruni added a commit that referenced this issue Feb 14, 2020
npm install --save vue-color
kyoruni added a commit that referenced this issue Feb 14, 2020
kyoruni added a commit that referenced this issue Feb 14, 2020
kyoruni added a commit that referenced this issue Feb 14, 2020
@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

透明度は使わせたくない

  • cssで非表示にするしかない?

@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

できた

  • :disableAlpha="true"
<color-picker v-model="colors" :disableAlpha="true"></color-picker>

kyoruni added a commit that referenced this issue Feb 14, 2020
@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

初期選択の色を設定したい

  • 何入れても#194d33になってしまう

@kyoruni kyoruni changed the title 【Vue.js】カラーピッカー使ってみる 【Vue.js】vue-color(カラーピッカー)使ってみる Feb 14, 2020
@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

できた

  • 色を渡さなければ良いだけだった…

kyoruni added a commit that referenced this issue Feb 14, 2020
@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

dataに持たせた背景色で要素表示したい

  • セクションをループする

  • セクションごとに別の色にする

@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

できた

kyoruni added a commit that referenced this issue Feb 14, 2020
@kyoruni
Copy link
Owner Author

kyoruni commented Feb 14, 2020

クリックしたセクションの色をカラーピッカーに適用する

kyoruni added a commit that referenced this issue Feb 19, 2020
kyoruni added a commit that referenced this issue Feb 19, 2020
透明は使用不可のため
kyoruni added a commit that referenced this issue Feb 19, 2020
kyoruni added a commit that referenced this issue Feb 19, 2020
kyoruni added a commit that referenced this issue Feb 19, 2020
【Vue.js】vue-color(カラーピッカー)使ってみる
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant