AngleSharp.Dom
Namespace with 94 public types
Classes
Attr
Represents a generic node attribute.
CreateDocumentOptions
Data transport class to abstract common options in document creation.
DefaultAttributeObserver
Represents the default attribute observer.
DefaultDocumentFactory
Provides the default content-type to document creation mapping.
DomException
Represents a DOM exception.
Entity
Represents an entity node.
MutationObserver
MutationObserver provides developers a way to react to changes in a
DOM.
Notation
Represents a notation node.
Url
Represents an Url class according to RFC3986. This is the base for all
internal Url manipulation.
Specification for the API used from https://url.spec.whatwg.org/#api.
UrlSearchParams
Represents a list of query parameters.
Enumerations
AdjacentPosition
Enumeration with possible values for the adjacent position insertion.
DirectionMode
An enumeration with all dir modes.
DocumentPositions
Enumeration of possible document position values.
DocumentReadyState
Defines the document readiness.
DomError
A collection of official DOM error codes.
FilterResult
An enumeration that contains the valid results of examining a node.
FilterSettings
The enumeration with the flags for setting the NodeIterator.
HorizontalAlignment
The list of possible horizontal alignments.
NodeFlags
Defines some properties of a node.
Exclusive maximum is 0x100000000.
Inclusive maximum is 0x0FFFFFFFF.
General range: 0x1 to 0x80
HTML range : 0x100 to 0x8000
MathML range : 0x10000 to 0x800000
SVG range : 0x1000000 to 0x80000000
NodeType
Contains an enumeration of various node types.
QuirksMode
A list of possible quirks mode states.
RangePosition
An enumeration of possible values for position comparisons in a range object.
RangeType
An enumeration with possible values on how to compare boundary points.
ShadowRootMode
List of possible shadow root mode states.
VerticalAlignment
The list of possible vertical alignments (extended by CSS).
Visibility
An enumeration with the various visibility states.
WordBreak
The list of possible horizontal alignments.
Static Classes
AttrExtensions
Extensions for the list of attributes.
AttributeNames
The collection of (known / used) attribute names.
CollectionExtensions
A bunch of methods for getting DOM elements on some internal collections.
DocumentExtensions
Useful methods for document objects.
ElementExtensions
Useful methods for element objects.
EventNames
The collection of (known / used) event names.
EventTargetExtensions
A set of extensions for EventTarget objects.
NamespaceNames
Contains a list of common namespaces.
NodeExtensions
Useful methods for node objects.
ParentNodeExtensions
Useful methods for parent node objects.
QueryExtensions
Extensions for performing QuerySelector operations.
SelectorExtensions
Defines a set of extension methods involving selectors.
TagNames
The collection of (known / used) tags.
Abstract Classes
Document
Represents a document node.
Element
Represents an element node.
EventTarget
Event target base of all DOM nodes.
Node
Represents a node in the generated tree.
Interfaces
IAttr
This type represents a DOM element's attribute as an object.
IAttributeObserver
Represents the interface for observing attribute changes.
ICharacterData
The CharacterData abstract interface represents a Node object that
contains characters.
IChildNode
The ChildNode interface contains methods that are particular to Node
objects that can have a parent.
IComment
The Comment interface represents textual notations within markup;
although it is generally not visually shown, such comments are
available to be read in the source view.
IDocument
The Document interface serves as an entry point to the web page's
content.
IDocumentFactory
Represents the factory for creating documents from responses.
IDocumentFragment
The DocumentFragment interface represents a minimal document object
that has no parent.
IDocumentStyle
Extends the document with further properties for styling.
IDocumentType
The DocumentType interface represents a Node containing a doctype.
IDomException
Defines how a DOMException should look like.
IElement
The Element interface represents an object within a DOM document.
IElementFactory`2
Represents an element factory.
IEntityProvider
Defines methods to create a custom entity service.
IEntityProviderExtended
Defines methods to create a custom entity service.
IEventTarget
EventTarget is a DOM interface implemented by objects that can receive
DOM events and have listeners for them.
IHtmlAllCollection
An HTMLAllCollection is always rooted at document and matching all
elements. It represents the tree of elements in a one-dimensional
fashion.
IHtmlCollection`1
HTMLCollection is an interface representing a generic collection
(array) of elements (in document order) and offers methods and
properties for selecting from the list.
IImplementation
The DOMImplementation interface represent an object providing methods
which are not dependent on any particular document.
ILinkImport
Implemented by elements that may expose imports.
ILinkStyle
Implemented by elements that may expose stylesheets.
ILocation
The Location interface represents the location of the object it is
linked to. Changes done on it are reflected on the object it relates
to.
IMutationRecord
MutationRecord defines an interface that will be passed to the
observer's callback.
INamedNodeMap
NamedNodeNap is a key/value pair of nodes that can be accessed by
numeric or string index.
https://dom.spec.whatwg.org/#interface-namednodemap
INode
A Node is an interface from which a number of DOM types inherit, and
allows these various types to be treated similarly.
INodeIterator
The NodeIterator interface represents an iterator over the members of a
list of the nodes in a subtree of the DOM. The nodes will be returned
in document order.
INodeList
NodeList objects are collections of nodes.
INonDocumentTypeChildNode
Extensions to ChildNode nodes that are not document type nodes.
INonElementParentNode
Extensions to ParentNode nodes that are not Element nodes.
IParentNode
Defines the ParentNode interface that is implemented by possible
parents.
IProcessingInstruction
A processing instruction provides an opportunity for
application-specific instructions to be embedded within XML and which
can be ignored by XML processors which do not support processing their
instructions (outside of their having a place in the DOM).
IPseudoElement
The PseudoElement interface is used for representing CSS
pseudo-elements.
IRange
The Range interface represents a fragment of a document that can
contain nodes and parts of text nodes in a given document.
IReverseEntityProvider
Defines methods to create a custom reverse entity service.
ISettableTokenList
The same as TokenList, except that it allows the underlying string to
be directly changed.
IShadowRoot
The ShadowRoot interface represents the shadow root.
ISourceReference
Represents a reference from an element to its original source code.
IStringList
Represents a string list.
IStringMap
The DOMStringMap interface represents a set of name-value pairs.
IStyleSheet
Represent a stylesheet for collecting style information.
IStyleSheetList
Represents a list of stylesheet elements.
IText
The Text interface represents the textual content of Element or Attr.
If an element has no markup within its content, it has a single child
implementing Text that contains the element's text. However, if the
element contains markup, it is parsed into information items and Text
nodes that form its children.
ITokenList
This type represents a set of space-separated tokens.
ITreeWalker
The TreeWalker object represents the nodes of a document subtree and a
position within them.
IUrlUtilities
The URLUtils interface defines utility methods to work with URLs.
IWindow
The interface for a browsing window element.
https://developer.mozilla.org/en-US/docs/Web/API/Window
IWindowTimers
Providers timers to the Window object.