@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
21 lines (19 loc) • 522 B
JavaScript
import "regenerator-runtime/runtime";
if (window.document) {
window.document.body.createTextRange = function () {
return {
setEnd: function () {},
setStart: function () {},
getBoundingClientRect: function () {
return { right: 0 };
},
getClientRects: function () {
return {
length: 0,
left: 0,
right: 0,
};
},
};
};
}