continue to try to add wasm target

This commit is contained in:
2024-08-29 14:13:02 +06:00
parent 4ccc5b6a64
commit ef75d82244
12 changed files with 304 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package dev.inmo.micro_utils.common
import org.w3c.dom.Element
inline val Element.isOverflowWidth
get() = scrollWidth > clientWidth
inline val Element.isOverflowHeight
get() = scrollHeight > clientHeight
inline val Element.isOverflow
get() = isOverflowHeight || isOverflowWidth