@ecomplus/widget-search
Version:
Storefront plugin with Vue component for instant search engine on E-Com Plus stores
26 lines (24 loc) • 603 B
JavaScript
import { name } from './package.json'
export default () => ({
label: 'Busca instantânea',
thumbnail: 'https://ecom.nyc3.cdn.digitaloceanspaces.com/storefront/widgets/search.png',
fields: [
{
name: 'pkg',
widget: 'hidden',
default: name
},
{
label: 'Ativar',
hint: 'Modal para busca instantânea ativado pelo input no cabeçalho da loja',
name: 'active',
widget: 'boolean'
},
{
label: 'Apenas em desktops',
name: 'desktopOnly',
hint: 'Desativa o widget em dispositivos móveis',
widget: 'boolean'
}
]
})