Merge pull request #159 from InsanusMokrassar/0.10.8

0.10.8
This commit is contained in:
InsanusMokrassar 2022-05-29 20:06:14 +06:00 committed by GitHub
commit 1af5faa440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 0.10.8
* `Common`
* Add `Element.isOverflow*` extension properties
## 0.10.7 ## 0.10.7
* `Pagination`: * `Pagination`:

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

View File

@ -14,5 +14,5 @@ crypto_js_version=4.1.1
# Project data # Project data
group=dev.inmo group=dev.inmo
version=0.10.7 version=0.10.8
android_code_version=122 android_code_version=123