0.0.4 • Published 5 years ago

xns-stat-compare-pack v0.0.4

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

xns-stat-compare-pack

A representational stat pack vue plugin for comparing two sources.

xns-stat-compare-pack

install

$ npm i xns-stat-compare-pack

Import & initiate plugin on your entry js file

    import XnsStatComparePack from 'xns-stat-compare-pack'

    Vue.use(XnsStatComparePack)

Example

<xns-stat-compare-pack
    :sp-width="300"
    :sp-height="50"
    :color-one="'#c70102'"
    :color-two="'#383838'"
    :size-one="16"
    :size-two="21"
    :stats-color="'white'"
    :sp-title="'Total Tackles'"
    :title-color="'white'"
></xns-stat-compare-pack>

Options

OptionTypeRequiredDefault
spWidthNumberfalse300px
spHeightNumberfalse50px
colorOneStringtruenone
colorTwoStringtruenone
sizeOneStringtruenone
sizeTwoStringtruenone
statsColorStringtruenone
spTitleStringtruenone
titleColorStringtruenone
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago