UNPKG

bootstrap-vue

Version:

BootstrapVue, with more than 85 custom components, over 45 plugins, several custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated W

16 lines (9 loc) 472 B
/** * SSR safe types */ import { hasWindowSupport } from './env' const w = hasWindowSupport ? window : {} export const Element = hasWindowSupport ? w.Element : class Element extends Object {} export const HTMLElement = hasWindowSupport ? w.HTMLElement : class HTMLElement extends Element {} export const SVGElement = hasWindowSupport ? w.SVGElement : class SVGElement extends Element {} export const File = hasWindowSupport ? w.File : class File extends Object {}