aboutsummaryrefslogtreecommitdiff
path: root/src/Lib/Dom/Location.ml
diff options
context:
space:
mode:
authorJoris2020-07-26 18:16:59 +0200
committerJoris2020-07-26 18:16:59 +0200
commit4ee0dfae75fda3a8b6347d55c728b50ce5c210d9 (patch)
tree5f73adaf57354e0070acaa9a6b60dc49c0c48526 /src/Lib/Dom/Location.ml
parent447f43995ae8d83c82d98d9d8968e90d6c4518e7 (diff)
downloadmap-4ee0dfae75fda3a8b6347d55c728b50ce5c210d9.tar.gz
map-4ee0dfae75fda3a8b6347d55c728b50ce5c210d9.tar.bz2
map-4ee0dfae75fda3a8b6347d55c728b50ce5c210d9.zip
Allow to customize icons
Diffstat (limited to 'src/Lib/Dom/Location.ml')
-rw-r--r--src/Lib/Dom/Location.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Lib/Dom/Location.ml b/src/Lib/Dom/Location.ml
new file mode 100644
index 0000000..2c58705
--- /dev/null
+++ b/src/Lib/Dom/Location.ml
@@ -0,0 +1,7 @@
+external set : Dom.element -> string -> unit = "location"
+ [@@bs.set]
+
+type location
+
+external hash : location -> string = "hash"
+ [@@bs.get]