Skip to main content
Glama
pansin
by pansin
UIEvent.js509 B
"use strict"; var Event = require('./Event'); module.exports = UIEvent; function UIEvent() { // Just use the superclass constructor to initialize Event.call(this); this.view = null; // FF uses the current window this.detail = 0; } UIEvent.prototype = Object.create(Event.prototype, { constructor: { value: UIEvent }, initUIEvent: { value: function(type, bubbles, cancelable, view, detail) { this.initEvent(type, bubbles, cancelable); this.view = view; this.detail = detail; }} });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pansin/browserMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server