UNPKG

infusion

Version:

Infusion is an application framework for developing flexible stuff with JavaScript

42 lines (34 loc) 1.32 kB
/* Copyright The Infusion copyright holders See the AUTHORS.md file at the top-level directory of this distribution and at https://github.com/fluid-project/infusion/raw/master/AUTHORS.md. Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may obtain a copy of the ECL 2.0 License and BSD License at https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt */ var fluid_3_0_0 = fluid_3_0_0 || {}; (function ($, fluid) { "use strict"; /************************************* * Preferences Editor Letter Spacing * *************************************/ /** * A sub-component of fluid.prefs that renders the "letter spacing" panel of the user preferences interface. */ fluid.defaults("fluid.prefs.panel.letterSpace", { gradeNames: ["fluid.prefs.panel.stepperAdjuster"], preferenceMap: { "fluid.prefs.letterSpace": { "model.value": "value", "range.min": "minimum", "range.max": "maximum", "step": "divisibleBy" } }, panelOptions: { labelIdTemplate: "letterSpace-label-%guid" } }); })(jQuery, fluid_3_0_0);