Sha256: d65db4ae8b958c0278e57e45eeb1d6c1562eabfc127baff528fa3d5b2697b904
Contents?: true
Size: 259 Bytes
Versions: 35
Compression:
Stored size: 259 Bytes
Contents
export default function createFilterStore(Alpine) { return { raw: Alpine.$persist("").as("filter-text"), get text() { return this.raw.replace(/\s/g, "").toLowerCase(); }, get active() { return this.text.length > 0; }, }; }
Version data entries
35 entries across 35 versions & 1 rubygems