Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/capricorn86/happy-dom
/ functions
Functions
4,455 in github.com/capricorn86/happy-dom
⨍
Functions
4,455
◇
Types & classes
1,192
↓ 2 callers
Method
getBorderStyle
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:279
↓ 2 callers
Method
getBorderTop
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:201
↓ 2 callers
Method
getBorderTopLeftRadius
* Returns border radius. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1577
↓ 2 callers
Method
getBorderTopRightRadius
* Returns border radius. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1599
↓ 2 callers
Method
getBorderWidth
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:264
↓ 2 callers
Method
getBoundingClientRect
* Returns a DOMRect object that bounds the contents of the range; this is a rectangle enclosing the union of the bounding rectangles for all the eleme
packages/happy-dom/src/range/Range.ts:755
↓ 2 callers
Method
getBrowserContext
* Returns the browser context. * * @returns Browser context.
packages/happy-dom/src/window/WindowBrowserContext.ts:61
↓ 2 callers
Method
getCalc
* Returns calc. * * @param value Value. * @returns Parsed value.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationValueParser.ts:237
↓ 2 callers
Method
getColor
* Returns color. * * @param value Value. * @returns Parsed value.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationValueParser.ts:351
↓ 2 callers
Method
getConfiguration
* Returns configuration from process arguments. * * @param args Arguments.
packages/@happy-dom/server-renderer/src/utilities/ProcessArgumentsParser.ts:17
↓ 2 callers
Method
getFilepath
* Returns the filesystem path for a request URL if it matches a virtual server. * * @param window Window. * @param requestURL Request URL.
packages/happy-dom/src/fetch/utilities/VirtualServerUtility.ts:21
↓ 2 callers
Method
getFlex
* Returns flex. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:537
↓ 2 callers
Method
getFlexBasis
* Returns flex basis. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2194
↓ 2 callers
Method
getFlexGrow
* Returns flex grow. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2244
↓ 2 callers
Method
getFlexShrink
* Returns flex shrink. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2220
↓ 2 callers
Method
getFont
* Returns flex. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:583
↓ 2 callers
Method
getFontFamily
* Returns font family. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3137
↓ 2 callers
Method
getFontSize
* Returns font size. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3083
↓ 2 callers
Method
getFontStretch
* Returns font strech. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3031
↓ 2 callers
Method
getFontStyle
* Returns font style. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2975
↓ 2 callers
Method
getFontVariant
* Returns font variant. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3005
↓ 2 callers
Method
getFontWeight
* Returns font weight. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3057
↓ 2 callers
Method
getFrames
* Returns frames for a page. * * @param page Page. * @returns Frames.
packages/happy-dom/src/browser/utilities/BrowserPageUtility.ts:15
↓ 2 callers
Method
getHTML
* @override
packages/happy-dom/src/nodes/html-template-element/HTMLTemplateElement.ts:92
↓ 2 callers
Method
getHash
* Returns hash. * * @returns Hash.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:300
↓ 2 callers
Method
getHost
* Returns host. * * @returns Host.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:155
↓ 2 callers
Method
getHostname
* Returns hostname. * * @returns Hostname.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:184
↓ 2 callers
Method
getLineHeight
* Returns line height. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3109
↓ 2 callers
Method
getMargin
* Returns margin. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:14
↓ 2 callers
Method
getMarginBottom
* Returns margin right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2082
↓ 2 callers
Method
getMarginLeft
* Returns margin left. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2104
↓ 2 callers
Method
getMarginRight
* Returns margin right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2060
↓ 2 callers
Method
getMarginTop
* Returns margin top. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2038
↓ 2 callers
Method
getNonSpacePrecedingToken
* Get the non-space preceding token. * * @param code Code. * @param index Index. * @returns Non-space preceding token.
packages/happy-dom/src/module/ECMAScriptModuleCompiler.ts:883
↓ 2 callers
Method
getOrigin
* Returns the hyperlink's URL's origin. * * @returns Origin.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:26
↓ 2 callers
Method
getOutline
* Returns outline. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:44
↓ 2 callers
Method
getOutlineColor
* Returns outline color. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:526
↓ 2 callers
Method
getOutlineStyle
* Returns outline style. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:569
↓ 2 callers
Method
getOutlineWidth
* Returns outline width. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:596
↓ 2 callers
Method
getPadding
* Returns padding. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:29
↓ 2 callers
Method
getPaddingBottom
* Returns padding bottom. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1949
↓ 2 callers
Method
getPaddingLeft
* Returns padding left. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1971
↓ 2 callers
Method
getPaddingRight
* Returns padding right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1927
↓ 2 callers
Method
getPaddingTop
* Returns padding top. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1905
↓ 2 callers
Method
getPassword
* Returns password. * * @returns Password.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:126
↓ 2 callers
Method
getPathname
* Returns pathname. * * @returns Pathname.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:242
↓ 2 callers
Method
getPort
* Returns port. * * @returns Port.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:213
↓ 2 callers
Method
getProtocol
* Returns protocol. * * @returns Protocol.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:68
↓ 2 callers
Method
getReadableStream
* Wraps a given value in a browser ReadableStream. * * This method creates a ReadableStream and immediately enqueues and closes it * with the pr
packages/happy-dom/src/fetch/utilities/FetchBodyUtility.ts:273
↓ 2 callers
Method
getReferrerPolicyFromHeader
* Returns referrer policy from header. * * @see https://w3c.github.io/webappsec-referrer-policy/#parse-referrer-policy-from-header * @param head
packages/happy-dom/src/fetch/utilities/FetchRequestReferrerUtility.ts:73
↓ 2 callers
Method
getRequestHeaders
* Returns request headers. * * @param options Options. * @param options.browserFrame Browser frame. * @param options.window Window. * @param
packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts:75
↓ 2 callers
Method
getScript
* Sends a synchronous request. * * @param request Request. * @param request.url * @param request.method * @param request.headers * @param
packages/happy-dom/src/fetch/utilities/SyncFetchScriptBuilder.ts:19
↓ 2 callers
Method
getSearch
* Returns search. * * @returns Search.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:271
↓ 2 callers
Method
getSelection
* Returns selection. * * @returns Selection.
packages/happy-dom/src/nodes/document/Document.ts:2141
↓ 2 callers
Method
getType
* Returns data by type. * * @param type Type. * @returns Data.
packages/happy-dom/src/clipboard/ClipboardItem.ts:46
↓ 2 callers
Method
getURL
* Returns URL. * * Based on: * https://github.com/jsdom/cssstyle/blob/master/lib/parsers.js#L222 * * @param value Value. * @returns Parsed
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationValueParser.ts:371
↓ 2 callers
Method
getUsername
* Returns username. * * @returns Username.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:97
↓ 2 callers
Method
getVideoTracks
* Returns video tracks. * * @returns Video tracks.
packages/happy-dom/src/nodes/html-media-element/MediaStream.ts:97
↓ 2 callers
Method
group
* Creates a new inline group in the console, causing any subsequent console messages to be indented by an additional level, until console.groupEnd() i
packages/happy-dom/src/console/IConsole.ts:70
↓ 2 callers
Method
groupCollapsed
* Creates a new inline group in the console, but prints it as collapsed, requiring the use of a disclosure button to expand it. * * @param label L
packages/happy-dom/src/console/IConsole.ts:77
↓ 2 callers
Method
groupEnd
* Exits the current inline group in the console.
packages/happy-dom/src/console/IConsole.ts:82
↓ 2 callers
Method
has
(target, property)
packages/happy-dom/src/dom/DOMTokenList.ts:89
↓ 2 callers
Method
has
(target, property)
packages/happy-dom/src/nodes/element/HTMLCollection.ts:87
↓ 2 callers
Method
has
(target, property)
packages/happy-dom/src/nodes/html-media-element/TextTrackList.ts:81
↓ 2 callers
Method
has
(target, property)
packages/happy-dom/src/css/MediaList.ts:57
↓ 2 callers
Method
hasExpired
* Returns "true" if cookie has expired. * * @param cookie Cookie. * @returns "true" if cookie has expired.
packages/happy-dom/src/cookie/urilities/CookieExpireUtility.ts:13
↓ 2 callers
Method
initEvent
* Init event. * * @deprecated * @param type Type. * @param [bubbles=false] "true" if it bubbles. * @param [cancelable=false] "true" if it ca
packages/happy-dom/src/event/Event.ts:191
↓ 2 callers
Method
insertNode
* Inserts a node at the start of the Range. * * @see https://dom.spec.whatwg.org/#concept-range-insert * @param newNode New node.
packages/happy-dom/src/range/Range.ts:809
↓ 2 callers
Method
insertRow
* Returns an HTMLTableRowElement representing a new row of the table. It inserts it in the rows collection immediately before the <tr> element at the
packages/happy-dom/src/nodes/html-table-element/HTMLTableElement.ts:265
↓ 2 callers
Method
inverse
* Returns a new SVGMatrix instance which is this matrix inverted.
packages/happy-dom/src/svg/SVGMatrix.ts:313
↓ 2 callers
Method
invertSelf
* Set self to be specified as matrix inverted.
packages/happy-dom/src/dom/dom-matrix/DOMMatrix.ts:513
↓ 2 callers
Method
isFollowing
* Returns boolean indicating if nodeB is following nodeA in the document tree. * * Based on: * https://github.com/jsdom/jsdom/blob/master/lib/js
packages/happy-dom/src/nodes/node/NodeUtility.ts:102
↓ 2 callers
Method
isMaxRedirectsReached
* Returns "true" if max redirects is reached. * * @param redirectCount Redirect count. * @returns "true" if max redirects is reached.
packages/happy-dom/src/fetch/utilities/FetchResponseRedirectUtility.ts:24
↓ 2 callers
Method
isRedirect
* Returns "true" if redirect. * * @param statusCode Status code. * @returns "true" if redirect.
packages/happy-dom/src/fetch/utilities/FetchResponseRedirectUtility.ts:14
↓ 2 callers
Method
isValidCustomElementName
* Returns true if the tag name is a valid custom element name. * * @see https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-e
packages/happy-dom/src/custom-element/CustomElementUtility.ts:31
↓ 2 callers
Method
isoWeekDate
* Returns a date object for monday of given iso week string (\d\d\d\d-W\d\d) * * @param isoWeek Iso-week string. * @returns Date.
packages/happy-dom/src/nodes/html-input-element/HTMLInputElementDateUtility.ts:34
↓ 2 callers
Method
item
* Returns item by index. * * @param index Index.
packages/happy-dom/src/nodes/element/NamedNodeMap.ts:77
↓ 2 callers
Method
matchMedia
* Returns a new MediaQueryList object that can then be used to determine if the document matches the media query string. * * @param mediaQueryStri
packages/happy-dom/src/window/BrowserWindow.ts:2397
↓ 2 callers
Method
matrixTransform
* The matrixTransform() method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, cre
packages/happy-dom/src/dom/DOMPointReadOnly.ts:109
↓ 2 callers
Method
min
* Returns min. * * @returns Min.
packages/happy-dom/src/nodes/html-input-element/HTMLInputElement.ts:454
↓ 2 callers
Method
multiply
* Returns a new SVGMatrix instance which is the result of this matrix multiplied by the passed matrix. * * @param secondMatrix Matrix object. *
packages/happy-dom/src/svg/SVGMatrix.ts:173
↓ 2 callers
Method
namedItem
* NamedItem. * * @param name String. * @returns IMimeType.
packages/happy-dom/src/navigator/Plugin.ts:49
↓ 2 callers
Method
navigateBack
* Navigates back in history. * * @param options Options. * @param options.windowClass Window class. * @param options.frame Frame. * @param [
packages/happy-dom/src/browser/utilities/BrowserFrameNavigator.ts:331
↓ 2 callers
Method
navigateForward
* Navigates forward in history. * * @param options Options. * @param options.windowClass Window class. * @param options.frame Frame. * @para
packages/happy-dom/src/browser/utilities/BrowserFrameNavigator.ts:396
↓ 2 callers
Method
navigateSteps
* Navigates steps in history. * * @param options Options. * @param options.windowClass Window class. * @param options.frame Frame. * @param
packages/happy-dom/src/browser/utilities/BrowserFrameNavigator.ts:462
↓ 2 callers
Method
nextNode
* Moves the current Node to the next visible node in the document order. * * @returns Current node.
packages/happy-dom/src/tree-walker/TreeWalker.ts:172
↓ 2 callers
Method
nodeToWebStream
* Wraps a Node.js stream into a browser-compatible ReadableStream. * * Enables the use of Node.js streams where browser ReadableStreams are requir
packages/happy-dom/src/fetch/utilities/FetchBodyUtility.ts:244
↓ 2 callers
Method
off
(event: string, listener: Function)
packages/happy-dom/test/web-socket/WebSocket.test.ts:42
↓ 2 callers
Method
onResponseAvailable
* On response available. * * @returns Response.
packages/happy-dom/src/fetch/preload/PreloadEntry.ts:22
↓ 2 callers
Method
once
(event: string, listener: Function)
packages/happy-dom/test/web-socket/WebSocket.test.ts:35
↓ 2 callers
Method
parse
* Parses response. * * @param options Options. * @param options.window Window. * @param [options.responseType] Response type. * @param [opti
packages/happy-dom/src/xml-http-request/XMLHttpRequestResponseDataParser.ts:21
↓ 2 callers
Method
parseComment
* Parses comment. * * @param comment Comment.
packages/happy-dom/src/html-parser/HTMLParser.ts:692
↓ 2 callers
Method
parseMonthComponent
* Parses the month component of a date string. * * @param value
packages/happy-dom/src/nodes/html-input-element/HTMLInputElementValueSanitizer.ts:139
↓ 2 callers
Method
parseResponseHeaders
* Appends headers to response. * * @param nodeResponse HTTP request. * @param options * @param options.browserFrame * @param options.request
packages/happy-dom/src/fetch/utilities/FetchResponseHeaderUtility.ts:19
↓ 2 callers
Method
postMessage
* Safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe
packages/happy-dom/src/window/BrowserWindow.ts:2789
↓ 2 callers
Method
preload
* Compiles and preloads the module and its imports. * * @returns Promise.
packages/happy-dom/src/module/types/IModule.ts:19
↓ 2 callers
Method
prepareRequest
* Prepares the request before being sent. * * @param originURL Origin URL. * @param request Request.
packages/happy-dom/src/fetch/utilities/FetchRequestReferrerUtility.ts:32
↓ 2 callers
Method
previousNode
* Moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. I
packages/happy-dom/src/tree-walker/TreeWalker.ts:129
↓ 2 callers
Method
readAsText
* Reads as text. * * @param blob Blob. * @param [encoding] Encoding.
packages/happy-dom/src/file/FileReader.ts:94
↓ 2 callers
Method
removeAllRanges
* Removes all ranges.
packages/happy-dom/src/selection/Selection.ts:229
← previous
next →
401–500 of 4,455, ranked by callers