Kingdom
Options
All
  • Public
  • Public/Protected
  • All
Menu
interface

Subject

property

{string} element - HTML element that you want to create

property

{string} [textAsString] - inserts string into the virtual element

property

{string} [textAsHTML] - inserts html given as string to the virtual element

property

{Object} [properties] - key value pair of properties for HTML {Element}

property

{Object} [setAttributes] - allows you to set attribute on the element using setAttribute method

property

{Array} [subjects] - children of the current subject.

Hierarchy

  • Subject

Index

Properties

element

element: string

properties

properties: object

Type declaration

setAttributes

setAttributes: object

Type declaration

subjects

subjects: Array<Subject>

textAsHTML

textAsHTML: string

textAsString

textAsString: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc