simulargecomponent
v1.2.0
Published
Color Scale component for vue&quasar projects!
Downloads
13
Readme
Install package
- npm i simulargecomponent
- Package Link
- Stable version: 1.1.9
- Last version: 1.1.9
<script>
import ColorScale from 'simulargecomponent'
export default {
components: {
ColorScale
}
}
</script>
Usage
<template>
<div>
<ColorScale
:appNumberOfColors="numberOfColors"
:appPaletteChoice="paletteChoice"
:appMaxValue="maxValue"
:appMinValue="minValue"
:appTitle="TitleOfScale"
:appHorizontal="horizontal"
:key="TitleOfScale"
@focusSceneArea="focusSceneArea"
@focusMinValue="focusMinValue"
@focusMaxValue="focusMaxValue"
/>
</div>
</template>
<script>
export default {
data() {
return {
numberOfColors: ...,
paletteChoice: ...,
maxValue: ...,
minValue: ...,
title: ...,
horizontal: ...,
}
}
}
</script>
| Name | Type | Required |
|-------------------|--------------------|--------------------|
| numberOfColors
| Number
| |
| paletteChoice
| String
| |
| maxValue
| Number
| |
| minValue
| Number
| |
| title
| String
| |
| horizontal
| Boolean
| |