UNPKG

infusion

Version:

Infusion is an application framework for developing flexible stuff with JavaScript

40 lines (32 loc) 1.17 kB
/* Copyright 2017 OCAD University 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);