vue-component-library-wey
v1.1.9
Published
Concepto libreria para vue 2 y vue 3
Downloads
67
Readme
product-params
Concepto libreria para vue 2 y vue 3
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Parametros de entrada
Array :products
del siguiente tipo
{
id: string,
title: string,
description: string,
image: string,
price: number
}
Booleano
:isRequired
Parametros de salida
@onSelect
Array de items seleccionados
@totalPrice
Total price (suma de precios de items seleccionados)
@isValid
Si el parametro de entrada :isRequired
es igual al false
siempre retornara true
Si el parametro de entrada :isRequired
es igual al true
retorna true
si hay al menos un item seleccionado, de lo contrariofalse