MCPcopy Create free account

hub / github.com/capricorn86/happy-dom / functions

Functions4,455 in github.com/capricorn86/happy-dom

↓ 2 callersMethodgetBorderStyle
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:279
↓ 2 callersMethodgetBorderTop
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:201
↓ 2 callersMethodgetBorderTopLeftRadius
* Returns border radius. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1577
↓ 2 callersMethodgetBorderTopRightRadius
* Returns border radius. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1599
↓ 2 callersMethodgetBorderWidth
* Returns border. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:264
↓ 2 callersMethodgetBoundingClientRect
* 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 callersMethodgetBrowserContext
* Returns the browser context. * * @returns Browser context.
packages/happy-dom/src/window/WindowBrowserContext.ts:61
↓ 2 callersMethodgetCalc
* Returns calc. * * @param value Value. * @returns Parsed value.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationValueParser.ts:237
↓ 2 callersMethodgetColor
* Returns color. * * @param value Value. * @returns Parsed value.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationValueParser.ts:351
↓ 2 callersMethodgetConfiguration
* Returns configuration from process arguments. * * @param args Arguments.
packages/@happy-dom/server-renderer/src/utilities/ProcessArgumentsParser.ts:17
↓ 2 callersMethodgetFilepath
* 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 callersMethodgetFlex
* Returns flex. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:537
↓ 2 callersMethodgetFlexBasis
* Returns flex basis. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2194
↓ 2 callersMethodgetFlexGrow
* Returns flex grow. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2244
↓ 2 callersMethodgetFlexShrink
* Returns flex shrink. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2220
↓ 2 callersMethodgetFont
* Returns flex. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:583
↓ 2 callersMethodgetFontFamily
* Returns font family. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3137
↓ 2 callersMethodgetFontSize
* Returns font size. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3083
↓ 2 callersMethodgetFontStretch
* Returns font strech. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3031
↓ 2 callersMethodgetFontStyle
* Returns font style. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2975
↓ 2 callersMethodgetFontVariant
* Returns font variant. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3005
↓ 2 callersMethodgetFontWeight
* Returns font weight. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3057
↓ 2 callersMethodgetFrames
* Returns frames for a page. * * @param page Page. * @returns Frames.
packages/happy-dom/src/browser/utilities/BrowserPageUtility.ts:15
↓ 2 callersMethodgetHTML
* @override
packages/happy-dom/src/nodes/html-template-element/HTMLTemplateElement.ts:92
↓ 2 callersMethodgetHash
* Returns hash. * * @returns Hash.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:300
↓ 2 callersMethodgetHost
* Returns host. * * @returns Host.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:155
↓ 2 callersMethodgetHostname
* Returns hostname. * * @returns Hostname.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:184
↓ 2 callersMethodgetLineHeight
* Returns line height. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:3109
↓ 2 callersMethodgetMargin
* Returns margin. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:14
↓ 2 callersMethodgetMarginBottom
* Returns margin right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2082
↓ 2 callersMethodgetMarginLeft
* Returns margin left. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2104
↓ 2 callersMethodgetMarginRight
* Returns margin right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2060
↓ 2 callersMethodgetMarginTop
* Returns margin top. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:2038
↓ 2 callersMethodgetNonSpacePrecedingToken
* 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 callersMethodgetOrigin
* Returns the hyperlink's URL's origin. * * @returns Origin.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:26
↓ 2 callersMethodgetOutline
* Returns outline. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:44
↓ 2 callersMethodgetOutlineColor
* Returns outline color. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:526
↓ 2 callersMethodgetOutlineStyle
* Returns outline style. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:569
↓ 2 callersMethodgetOutlineWidth
* Returns outline width. * * @param value Value. * @param important Important. * @returns Property values
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:596
↓ 2 callersMethodgetPadding
* Returns padding. * * @param properties Properties. * @returns Property value
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertyGetParser.ts:29
↓ 2 callersMethodgetPaddingBottom
* Returns padding bottom. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1949
↓ 2 callersMethodgetPaddingLeft
* Returns padding left. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1971
↓ 2 callersMethodgetPaddingRight
* Returns padding right. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1927
↓ 2 callersMethodgetPaddingTop
* Returns padding top. * * @param value Value. * @param important Important. * @returns Property values.
packages/happy-dom/src/css/declaration/property-manager/CSSStyleDeclarationPropertySetParser.ts:1905
↓ 2 callersMethodgetPassword
* Returns password. * * @returns Password.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:126
↓ 2 callersMethodgetPathname
* Returns pathname. * * @returns Pathname.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:242
↓ 2 callersMethodgetPort
* Returns port. * * @returns Port.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:213
↓ 2 callersMethodgetProtocol
* Returns protocol. * * @returns Protocol.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:68
↓ 2 callersMethodgetReadableStream
* 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 callersMethodgetReferrerPolicyFromHeader
* 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 callersMethodgetRequestHeaders
* 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 callersMethodgetScript
* 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 callersMethodgetSearch
* Returns search. * * @returns Search.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:271
↓ 2 callersMethodgetSelection
* Returns selection. * * @returns Selection.
packages/happy-dom/src/nodes/document/Document.ts:2141
↓ 2 callersMethodgetType
* Returns data by type. * * @param type Type. * @returns Data.
packages/happy-dom/src/clipboard/ClipboardItem.ts:46
↓ 2 callersMethodgetURL
* 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 callersMethodgetUsername
* Returns username. * * @returns Username.
packages/happy-dom/src/nodes/html-hyperlink-element/HTMLHyperlinkElementUtility.ts:97
↓ 2 callersMethodgetVideoTracks
* Returns video tracks. * * @returns Video tracks.
packages/happy-dom/src/nodes/html-media-element/MediaStream.ts:97
↓ 2 callersMethodgroup
* 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 callersMethodgroupCollapsed
* 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 callersMethodgroupEnd
* Exits the current inline group in the console.
packages/happy-dom/src/console/IConsole.ts:82
↓ 2 callersMethodhas
(target, property)
packages/happy-dom/src/dom/DOMTokenList.ts:89
↓ 2 callersMethodhas
(target, property)
packages/happy-dom/src/nodes/element/HTMLCollection.ts:87
↓ 2 callersMethodhas
(target, property)
packages/happy-dom/src/nodes/html-media-element/TextTrackList.ts:81
↓ 2 callersMethodhas
(target, property)
packages/happy-dom/src/css/MediaList.ts:57
↓ 2 callersMethodhasExpired
* 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 callersMethodinitEvent
* 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 callersMethodinsertNode
* 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 callersMethodinsertRow
* 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 callersMethodinverse
* Returns a new SVGMatrix instance which is this matrix inverted.
packages/happy-dom/src/svg/SVGMatrix.ts:313
↓ 2 callersMethodinvertSelf
* Set self to be specified as matrix inverted.
packages/happy-dom/src/dom/dom-matrix/DOMMatrix.ts:513
↓ 2 callersMethodisFollowing
* 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 callersMethodisMaxRedirectsReached
* 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 callersMethodisRedirect
* Returns "true" if redirect. * * @param statusCode Status code. * @returns "true" if redirect.
packages/happy-dom/src/fetch/utilities/FetchResponseRedirectUtility.ts:14
↓ 2 callersMethodisValidCustomElementName
* 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 callersMethodisoWeekDate
* 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 callersMethoditem
* Returns item by index. * * @param index Index.
packages/happy-dom/src/nodes/element/NamedNodeMap.ts:77
↓ 2 callersMethodmatchMedia
* 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 callersMethodmatrixTransform
* 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 callersMethodmin
* Returns min. * * @returns Min.
packages/happy-dom/src/nodes/html-input-element/HTMLInputElement.ts:454
↓ 2 callersMethodmultiply
* 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 callersMethodnamedItem
* NamedItem. * * @param name String. * @returns IMimeType.
packages/happy-dom/src/navigator/Plugin.ts:49
↓ 2 callersMethodnavigateBack
* 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 callersMethodnavigateForward
* 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 callersMethodnavigateSteps
* 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 callersMethodnextNode
* 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 callersMethodnodeToWebStream
* 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 callersMethodoff
(event: string, listener: Function)
packages/happy-dom/test/web-socket/WebSocket.test.ts:42
↓ 2 callersMethodonResponseAvailable
* On response available. * * @returns Response.
packages/happy-dom/src/fetch/preload/PreloadEntry.ts:22
↓ 2 callersMethodonce
(event: string, listener: Function)
packages/happy-dom/test/web-socket/WebSocket.test.ts:35
↓ 2 callersMethodparse
* 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 callersMethodparseComment
* Parses comment. * * @param comment Comment.
packages/happy-dom/src/html-parser/HTMLParser.ts:692
↓ 2 callersMethodparseMonthComponent
* Parses the month component of a date string. * * @param value
packages/happy-dom/src/nodes/html-input-element/HTMLInputElementValueSanitizer.ts:139
↓ 2 callersMethodparseResponseHeaders
* 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 callersMethodpostMessage
* 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 callersMethodpreload
* Compiles and preloads the module and its imports. * * @returns Promise.
packages/happy-dom/src/module/types/IModule.ts:19
↓ 2 callersMethodprepareRequest
* Prepares the request before being sent. * * @param originURL Origin URL. * @param request Request.
packages/happy-dom/src/fetch/utilities/FetchRequestReferrerUtility.ts:32
↓ 2 callersMethodpreviousNode
* 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 callersMethodreadAsText
* Reads as text. * * @param blob Blob. * @param [encoding] Encoding.
packages/happy-dom/src/file/FileReader.ts:94
↓ 2 callersMethodremoveAllRanges
* Removes all ranges.
packages/happy-dom/src/selection/Selection.ts:229
← previousnext →401–500 of 4,455, ranked by callers