atom

package
v0.0.0-...-bc17065 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScrollIntoView   = `` /* 257-byte string literal not displayed */
	ClearInput       = `function(){("INPUT"===this.nodeName||"TEXTAREA"===this.nodeName)?this.value="":this.innerText=""}`
	GetInnerText     = `function(){return this.value||this.innerText}`
	DispatchEvents   = `function(l){for(const e of l)this.dispatchEvent(new Event(e,{'bubbles':!0}))}`
	Select           = `` /* 147-byte string literal not displayed */
	GetSelected      = `function(){return Array.from(this.options).filter(a=>a.selected).map(a=>a.value)}`
	GetSelectedText  = `function(){return Array.from(this.options).filter(a=>a.selected).map(a=>a.innerText)}`
	SelectHasOptions = `function(c){const a=Array.from(this.options);return c.length==a.filter(a=>c.includes(a.value)).length}`
	CheckBox         = `function(c){this.checked = c}`
	IsChecked        = `function(){return this.checked}`
	GetComputedStyle = `function(s){return getComputedStyle(this)[s]}`
	SetAttr          = `function(a,v){this.setAttribute(a,v)}`
	GetAttr          = `function(a){return this.getAttribute(a)}`
	IsVisible        = `` /* 167-byte string literal not displayed */
	Query            = `function(s){return this.querySelector(s)}`
	QueryAll         = `function(s){return this.querySelectorAll(s)}`
	IsClickHit       = `function(){return this._cc}`
	PreventMissClick = `` /* 251-byte string literal not displayed */
	MutationObserver = `` /* 177-byte string literal not displayed */
	LayoutMetrics    = `` /* 456-byte string literal not displayed */

)

Atom JS functions

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL