summaryrefslogtreecommitdiff
path: root/elements/prop.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-12-28 21:17:20 +0100
committerSébastien Dailly <sebastien@chimrod.com>2020-12-28 21:17:20 +0100
commit9d65e5e6a5bd8666baf0d7d3e0474c721cafc683 (patch)
treec391ced8768eca6e2f0c8292bab10fceeb48f2ee /elements/prop.ml
parentec812521b31471ce9ac3d9bdf1288b1569defbc8 (diff)
Fixed width and angle sliddes
Diffstat (limited to 'elements/prop.ml')
-rwxr-xr-xelements/prop.ml15
1 files changed, 15 insertions, 0 deletions
diff --git a/elements/prop.ml b/elements/prop.ml
new file mode 100755
index 0000000..715adec
--- /dev/null
+++ b/elements/prop.ml
@@ -0,0 +1,15 @@
+open Brr
+
+include El.Prop
+
+let offsetWidth
+ : int t
+ = El.Prop.int (Jstr.v "offsetWidth")
+
+let offsetHeight
+ : int t
+ = El.Prop.int (Jstr.v "offsetHeight")
+
+let outerHTML
+ : Jstr.t t
+ = El.Prop.jstr (Jstr.v "outerHTML")