Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- watch:{
- color:{
- handler () {
- let rgba = this.color.rgba;
- let currentColor = rgba.a === 1 ? this.color.hex : `rgba(${rgba.r},${rgba.g},${rgba.b},${rgba.a})`;
- this.submit('color',this.now,currentColor)
- },
- immediate: !(this.now==="standard")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement