Web/API/TypeInfo

From Get docs


ObsoleteThis feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.


The obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema.

Properties

TypeInfo.typeName Read only
Returns a DOMString indicating the type's name.
TypeInfo.typeNamespace Read only
Returns a DOMString indicating the type's namespace within the schema.

Methods

TypeInfo.isDerivedFrom()
Returns a Boolean.

Constants

Constant Value
DERIVATION_RESTRICTION 1
DERIVATION_EXTENSION 2
DERIVATION_UNION 4
DERIVATION_LIST 8

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Core SpecificationThe definition of 'TypeInfo' in that specification. Obsolete Initial definition