UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

48 lines (45 loc) 1.47 kB
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory(mod.exports); global.settings = mod.exports; } })(this, function (_exports) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.default = void 0; /** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ /** * Settings. * @exports CarbonComponents.settings * @type Object * @property {boolean} [disableAutoInit] * Disables automatic instantiation of components. * By default (`CarbonComponents.disableAutoInit` is `false`), * carbon-components attempts to instantiate components automatically * by searching for elements with `data-component-name` (e.g. `data-loading`) attribute * or upon DOM events (e.g. clicking) on such elements. * See each components' static `.init()` methods for details. * @property {string} [prefix=bx] * Brand prefix. Should be in sync with `$prefix` Sass variable in carbon-components/src/globals/scss/_vars.scss. */ var settings = { prefix: 'bx' }; var settings_1 = settings; var _default = settings_1; _exports.default = _default; });