UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

15 lines (12 loc) 479 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = isFlexSupported; function isFlexSupported() { if (typeof window !== 'undefined' && window.document && window.document.documentElement) { var documentElement = window.document.documentElement; return 'flex' in documentElement.style || 'webkitFlex' in documentElement.style || 'Flex' in documentElement.style || 'msFlex' in documentElement.style; } return false; }