Sha256: 8a1fe4a90dea327c0c6657f6bfb78b1673bce72a7416d42d4bc0f1a913a3129b
Contents?: true
Size: 810 Bytes
Versions: 67
Compression:
Stored size: 810 Bytes
Contents
import { prefixString } from "../helpers/string"; export default function initInspectorStore(Alpine, { prefix }) { return { minVerticalSplitWidth: 800, main: { activeTab: Alpine.$persist("").as( prefixString("inspector-main-active-tab", prefix) ), width: Alpine.$persist("100%").as( prefixString("inspector-main-width", prefix) ), height: Alpine.$persist("100%").as( prefixString("inspector-main-height", prefix) ), lastWidth: null, lastHeight: null, resizing: false, }, drawer: { hidden: Alpine.$persist(false).as( prefixString("inspector-drawer-hidden", prefix) ), activeTab: Alpine.$persist("").as( prefixString("inspector-drawer-active-tab", prefix) ), }, }; }
Version data entries
67 entries across 67 versions & 1 rubygems