Skip to content

Maps the document object attributes and api to a set of terse aliases.

Notifications You must be signed in to change notification settings

aareid10/trsdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Note: This package is no longer being maintained.

Maps the document object attributes & API to a set of terse aliases: trsDoc

DOM access with minimal keystrokes!

Aliases Overview

A Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.adoptNode: document.adoptNode.bind(document)
  • trsdoc.append: document.append.bind(document)

B Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.body: document.body

C Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.children: document.children
  • trsdoc.cset: document.characterSet
  • trsdoc.cec: document.childElementCount
  • trsdoc.cmode: document.compatMode
  • trsdoc.ctype: document.contentType
  • trsdoc.cscript: document.currentScript
  • trsdoc.crfp: document.caretRangeFromPoint.bind(document)
  • trsdoc.clear: document.clear.bind(document)
  • trsdoc.close: document.close.bind(document)
  • trsdoc.cr_attr: document.createAttribute.bind(document)
  • trsdoc.cr_cdata: document.createCDATASection.bind(document)
  • trsdoc.cr_Comment: document.createComment.bind(document)
  • trsdoc.cr_df: document.createDocumentFragment.bind(document)
  • trsdoc.cr_elem: document.createElement.bind(document)
  • trsdoc.cr_elemns: document.createElementNS.bind(document)
  • trsdoc.cr_er: document.createEntityReference
  • trsdoc.cr_ev: document.createEvent.bind(document)
  • trsdoc.cr_expr: document.createExpression.bind(document)
  • trsdoc.cr_ni: document.createNodeIterator.bind(document)
  • trsdoc.cr_nsr: document.createNSResolver.bind(document)
  • trsdoc.cr_pi: document.createProcessingInstruction.bind(document)
  • trsdoc.cr_range: document.createRange.bind(document)
  • trsdoc.cr_tn: document.createTextNode.bind(document)
  • trsdoc.cr_touch: document.createTouch
  • trsdoc.cr_tl: document.createTouchList
  • trsdoc.cr_tw: document.createTreeWalker.bind(document)

D Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.dview: document.defaultView
  • trsdoc.dmode: document.designMode
  • trsdoc.dir: document.dir
  • trsdoc.dtype: document.doctype
  • trsdoc.delem: document.documentElement
  • trsdoc.duri: document.documentURI
  • trsdoc.durio: document.documentURIObject
  • trsdoc.domain: document.domain
  • trsdoc.dconfig: document.domConfig

E Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.embeds: document.embeds
  • trsdoc.eval: document.evaluate.bind(document)
  • trsdoc.execc: document.execCommand.bind(document)
  • trsdoc.epl: document.exitPointerLock.bind(document)

F Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.fgc: document.fgColor
  • trsdoc.fec: document.firstElementChild
  • trsdoc.forms: document.forms
  • trsdoc.flsc: document.fullscreen
  • trsdoc.flscen: document.fullscreenEnabled

G Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.ge_byid: document.getElementById.bind(document)
  • trsdoc.ge_bycls: document.getElementsByClassName.bind(document)
  • trsdoc.ge_bynm: document.getElementsByName.bind(document)
  • trsdoc.ge_bytg: document.getElementsByTagName.bind(document)
  • trsdoc.ge_bytgns: document.getElementsByTagNameNS.bind(document)

H Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.head: document.head
  • trsdoc.height: document.height
  • trsdoc.hidden: document.hidden
  • trsdoc.hasFocus: document.hasFocus.bind(document)

I Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.images: document.images
  • trsdoc.impl: document.implementation
  • trsdoc.ipmn: document.importNode.bind(document)

L Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.lec: document.lastElementChild
  • trsdoc.lm: document.lastModified
  • trsdoc.lsss: document.lastStyleSheetSet
  • trsdoc.lc: document.linkColor
  • trsdoc.links: document.links
  • trsdoc.loc: document.location

M Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.mozsd: document.mozSyntheticDocument

O Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.on_abort: document.onabort
  • trsdoc.on_ase: document.onafterscriptexecute
  • trsdoc.on_ac: document.onanimationcancel
  • trsdoc.on_ae: document.onanimationend
  • trsdoc.on_ait: document.onanimationiteration
  • trsdoc.on_auxc: document.onauxclick
  • trsdoc.on_bse: document.onbeforescriptexecute
  • trsdoc.on_blur: document.onblur
  • trsdoc.on_change: document.onchange
  • trsdoc.on_click: document.onclick
  • trsdoc.on_close: document.onclose
  • trsdoc.on_cm: document.oncontextmenu
  • trsdoc.on_dc: document.ondblclick
  • trsdoc.on_error: document.onerror
  • trsdoc.on_focus: document.onfocus
  • trsdoc.on_fsc: document.onfullscreenchange
  • trsdoc.on_fse: document.onfullscreenerror
  • trsdoc.on_gpc: document.ongotpointercapture
  • trsdoc.on_input: document.oninput
  • trsdoc.on_kd: document.onkeydown
  • trsdoc.on_kp: document.onkeypress
  • trsdoc.on_ku: document.onkeyup
  • trsdoc.on_load: document.onload
  • trsdoc.on_load_e: document.onloadend
  • trsdoc.on_load_s: document.onloadstart
  • trsdoc.on_lpc: document.onlostpointercapture
  • trsdoc.on_md: document.onmousedown
  • trsdoc.on_mm: document.onmousemove
  • trsdoc.on_mout: document.onmouseout
  • trsdoc.on_mover: document.onmouseover
  • trsdoc.on_mu: document.onmouseup
  • trsdoc.on_offline: document.onoffline
  • trsdoc.on_online: document.ononline
  • trsdoc.on_pc: document.onpointercancel
  • trsdoc.on_pd: document.onpointerdown
  • trsdoc.on_pe: document.onpointerenter
  • trsdoc.on_pl: document.onpointerleave
  • trsdoc.on_pm: document.onpointermove
  • trsdoc.on_pout: document.onpointerout
  • trsdoc.on_pover: document.onpointerover
  • trsdoc.on_pu: document.onpointerup
  • trsdoc.on_reset: document.onreset
  • trsdoc.on_resize: document.onresize
  • trsdoc.on_scroll: document.onscroll
  • trsdoc.on_select: document.onselect
  • trsdoc.on_sc: document.onselectionchange
  • trsdoc.on_ss: document.onselectstart
  • trsdoc.on_submit: document.onsubmit
  • trsdoc.on_tc: document.ontouchcancel
  • trsdoc.on_tm: document.ontouchmove
  • trsdoc.on_ts: document.ontouchstart
  • trsdoc.on_trnsc: document.ontransitioncancel
  • trsdoc.on_trnse: document.ontransitionend
  • trsdoc.on_vc: document.onvisibilitychange
  • trsdoc.on_wheel: document.onwheel
  • trsdoc.origin: document.origin
  • trsdoc.open: document.open.bind(document)

P Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.plugins: document.plugins
  • trsdoc.pun: document.popupNode
  • trsdoc.psss: document.preferredStyleSheetSet
  • trsdoc.prepend: document.prepend.bind(document)

Q Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.qce: document.queryCommandEnabled.bind(document)
  • trsdoc.qcs: document.queryCommandSupported.bind(document)
  • trsdoc.qs: document.querySelector.bind(document)
  • trsdoc.qsa: document.querySelectorAll.bind(document)

R Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.re: document.registerElement.bind(document)
  • trsdoc.rs: document.readyState
  • trsdoc.referrer: document.referrer

S Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.scripts: document.scripts
  • trsdoc.se: document.scrollingElement
  • trsdoc.ssss: document.selectedStyleSheetSet
  • trsdoc.sss: document.styleSheetSets

T Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.tl: document.timeline
  • trsdoc.title: document.title
  • trsdoc.ttn: document.tooltipNode

U Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.URL: document.URL

V Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.vs: document.visibilityState
  • trsdoc.vlc: document.vlinkColor

W Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.width: document.width

X Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.xmle: document.xmlEncoding
  • trsdoc.xmlv: document.xmlVersion

W Aliases * * * * * * * * * * * * * * * * * * * * *

  • trsdoc.write: document.write.bind(document)
  • trsdoc.writeln: document.writeln.bind(document)

by Alex Reid

About

Maps the document object attributes and api to a set of terse aliases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published