API documentation  2.0rc1
Public Member Functions | List of all members
client::IntersectionObserver Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

Elementget_root ()
 
Stringget_rootMargin ()
 
Arrayget_thresholds ()
 
void disconnect ()
 
void observe (Element *target)
 
ArraytakeRecords ()
 
void unobserve (Element *target)
 
IntersectionObserverget_prototype ()
 
void set_prototype (IntersectionObserver *)
 
 IntersectionObserver (EventListener *callback)
 
 IntersectionObserver (EventListener *callback, IntersectionObserverInit *options)
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ IntersectionObserver() [1/2]

client::IntersectionObserver::IntersectionObserver ( EventListener callback)

◆ IntersectionObserver() [2/2]

client::IntersectionObserver::IntersectionObserver ( EventListener callback,
IntersectionObserverInit options 
)

Member Function Documentation

◆ disconnect()

void client::IntersectionObserver::disconnect ( )

◆ get_prototype()

IntersectionObserver* client::IntersectionObserver::get_prototype ( )

◆ get_root()

Element* client::IntersectionObserver::get_root ( )

◆ get_rootMargin()

String* client::IntersectionObserver::get_rootMargin ( )

◆ get_thresholds()

Array* client::IntersectionObserver::get_thresholds ( )

◆ observe()

void client::IntersectionObserver::observe ( Element target)

◆ set_prototype()

void client::IntersectionObserver::set_prototype ( IntersectionObserver )

◆ takeRecords()

Array* client::IntersectionObserver::takeRecords ( )

◆ unobserve()

void client::IntersectionObserver::unobserve ( Element target)