1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374(* Js_of_ocaml library
* http://www.ocsigen.org/js_of_ocaml/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, with linking exception;
* either version 2.1 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)classtypeintersectionObserverEntry=objectmethodtarget:Dom.nodeJs.tJs.readonly_propmethodboundingClientRect:Dom_html.clientRectJs.tJs.readonly_propmethodrootBounds:Dom_html.clientRectJs.tJs.optJs.readonly_propmethodintersectionRect:Dom_html.clientRectJs.tJs.readonly_propmethodintersectionRatio:Js.number_tJs.readonly_propmethodisIntersecting:boolJs.tJs.readonly_propmethodtime:Js.number_tJs.readonly_propendclasstypeintersectionObserverOptions=objectmethodroot:Dom.nodeJs.tJs.writeonly_propmethodrootMargin:Js.js_stringJs.tJs.writeonly_propmethodthreshold:Js.number_tJs.js_arrayJs.tJs.writeonly_propendclasstypeintersectionObserver=objectmethodroot:Dom.nodeJs.tJs.optJs.readonly_propmethodrootMargin:Js.js_stringJs.tJs.readonly_propmethodthresholds:Js.number_tJs.js_arrayJs.tJs.readonly_propmethodobserve:#Dom.nodeJs.t->unitJs.methmethodunobserve:#Dom.nodeJs.t->unitJs.methmethoddisconnect:unitJs.methmethodtakeRecords:intersectionObserverEntryJs.tJs.js_arrayJs.methendletempty_intersection_observer_options():intersectionObserverOptionsJs.t=Js.Unsafe.obj[||]letintersectionObserver_unsafe=Js.Unsafe.global##._IntersectionObserverletis_supported()=Js.Optdef.testintersectionObserver_unsafeletintersectionObserver:((intersectionObserverEntryJs.tJs.js_arrayJs.t->intersectionObserverJs.t->unit)Js.callback->intersectionObserverOptionsJs.t->intersectionObserverJs.t)Js.constr=intersectionObserver_unsafe