Sha256: 44baeb70e25f4840556deb4c0b5371fb9e600b48d736c32440e7f1c7c7a7f68c
Contents?: true
Size: 582 Bytes
Versions: 68
Compression:
Stored size: 582 Bytes
Contents
import initFilterStore from "./filter"; import { prefixString } from "../helpers/string"; export default function initNavStore(Alpine, { prefix }) { return { previews: { filter: initFilterStore( Alpine, prefixString("previews-filter-text", prefix) ), open: Alpine.$persist([]).as(prefixString("previews-nav-open", prefix)), }, pages: { filter: initFilterStore( Alpine, prefixString("pages-filter-text", prefix) ), open: Alpine.$persist([]).as(prefixString("pages-nav-open", prefix)), }, }; }
Version data entries
68 entries across 68 versions & 1 rubygems