UNPKG

baseframe-js

Version:

Baseframe JS is a comprehensive suite of modular plugins and utilities designed for front-end development

13 lines (12 loc) 1.07 kB
import type { StringPluginArgChoices } from '../types'; declare const isArr: (val: any) => val is any[], isStr: (val: any) => val is string, oa: <T extends Record<string, any>>(target: T, ...sources: Partial<T>[]) => T, af: <T>(list: any) => T[]; declare const d: Document, body: HTMLElement, root: HTMLElement, isFunc: (fn: unknown) => boolean, reflow: (elem: HTMLElement) => number, docTop: () => number, noop: () => void; declare const setParams: <T>(defaults: T, options: Partial<T> | StringPluginArgChoices, dataOptions: Partial<T>) => T; declare const getDataOptions: (el: HTMLElement, evtName: string) => import("types").PlainObject<unknown>; declare const kebabCase: (str: string) => string; declare const camelCase: (str: string) => string; declare const lowercaseFirstLetter: (str: string) => string; declare const isMobileOS: () => boolean; export { d, body, root, oa, af, isArr, isFunc, isStr, reflow, docTop, noop, setParams, getDataOptions, kebabCase, camelCase, lowercaseFirstLetter, isMobileOS }; declare const _default: {}; export default _default;