devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
21 lines (20 loc) • 810 B
JavaScript
/**
* DevExpress HTML/JS Reporting (designer\controls\utils\_bindings.js)
* Version: 20.2.13
* Build date: Apr 10, 2023
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var xrCheckbox_1 = require("../xrCheckbox");
var ko = require("knockout");
var svgAttrs = ko.bindingHandlers['svgAttrs'];
ko.bindingHandlers['svgAttrs'] = {
update: function (element, valueAccessor, allBindingsAccessor, viewModel) {
svgAttrs.update(element, valueAccessor, allBindingsAccessor, viewModel);
if (viewModel instanceof xrCheckbox_1.XRCheckBoxSurface) {
element.setAttribute('preserveAspectRatio', 'none');
}
}
};