Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

1.1 KB
Raw Blame
use super::NativeDomBridge;

impl NativeDomBridge {
    pub(crate) fn node_wrapper_template(
        &mut self,
        interface: &'static str,
    ) -> Option<&v8::ObjectTemplate> {
        self.bindings.node_wrapper_template(interface)
    }

    pub(crate) fn collection_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.collection_wrapper_template()
    }

    pub(crate) fn static_handle_node_list_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.static_handle_node_list_wrapper_template()
    }

    pub(crate) fn live_collection_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.live_collection_wrapper_template()
    }

    pub(crate) fn named_node_map_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.named_node_map_wrapper_template()
    }

    pub(crate) fn node_iterator_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.node_iterator_wrapper_template()
    }

    pub(crate) fn tree_walker_wrapper_template(&mut self) -> &v8::ObjectTemplate {
        self.bindings.tree_walker_wrapper_template()
    }
}