StiHtmlTag2 Class

Namespace: Stimulsoft.Base.Drawing

Constructors

Constructor Description
constructor(StiHtmlTag tag, StiHtmlTag2State state)  

constructor(tag: StiHtmlTag, state: StiHtmlTag2State)

Parameters

Properties

Property Type Description
isEmpty boolean  
isEnd boolean  
isStart boolean  

Methods

Method Returns Description
equals boolean  
getAttribute string  
getAttributePair TagPair  
hasAttribute boolean  
isEndTag boolean  
isStartTag boolean  
toString string  

Method Details

equals

equals(tag2: StiHtmlTag2): boolean

Parameters

Returns boolean


getAttribute

getAttribute(name: string): string

Parameters

  • name (string)

Returns string


getAttributePair

getAttributePair(name: string): TagPair

Parameters

  • name (string)

Returns TagPair


hasAttribute

hasAttribute(name: string): boolean

Parameters

  • name (string)

Returns boolean


isEndTag

isEndTag(tag: StiHtmlTag): boolean

Parameters

Returns boolean


isStartTag

isStartTag(tag: StiHtmlTag): boolean

Parameters

Returns boolean


toString

toString(): string

Returns string

Fields

Field Type Description
attributes TagPair[]  
state StiHtmlTag2State  
tag StiHtmlTag  
tagName string