in projects/kendo-ui-toolbar-ngcc/src/app/custom-tool.component.ts [4:10]
export function outerWidth(element: any): number {
let width = element.offsetWidth;
const style = getComputedStyle(element);
width += parseFloat(style.marginLeft) || 0 + parseFloat(style.marginRight) || 0;
return width;
}