diff --git a/src/handlers/overflow.js b/src/handlers/overflow.js new file mode 100644 index 0000000..9162ad7 --- /dev/null +++ b/src/handlers/overflow.js @@ -0,0 +1,14 @@ + +/** + * visible - Default.The overflow is not clipped.The content renders outside the element's box + * hidden - The overflow is clipped, and the rest of the content will be invisible + * scroll - The overflow is clipped, and a scrollbar is added to see the rest of the content + * auto - Similar to scroll, but it adds scrollbars only when necessary + */ +const Overflows = Object.freeze({ + visible: "visible", + hidden: "hidden", + scroll: "scroll", + auto: "auto" +}); +