Documentation / @blazetrails/activesupport / IndentedXmlStringBuilder
Class: IndentedXmlStringBuilder
Defined in: packages/activesupport/lib/xml-mini.ts:454
No Rails Equivalent
PERMANENT
Implements
Constructors
Constructor
new IndentedXmlStringBuilder(
baseIndent?,indentWidth?):IndentedXmlStringBuilder
Defined in: packages/activesupport/lib/xml-mini.ts:458
Parameters
| Parameter | Type | Default value |
|---|---|---|
baseIndent | string | "" |
indentWidth | number | 2 |
Returns
IndentedXmlStringBuilder
Methods
closeTag()
closeTag(
name):void
Defined in: packages/activesupport/lib/xml-mini.ts:487
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
void
No Rails Equivalent
PERMANENT
Implementation of
instructBang()
instructBang():
void
Defined in: packages/activesupport/lib/xml-mini.ts:493
Returns
void
No Rails Equivalent
PERMANENT
Implementation of
openTag()
openTag(
name,attributes?):void
Defined in: packages/activesupport/lib/xml-mini.ts:481
Parameters
| Parameter | Type |
|---|---|
name | string |
attributes | Record<string, string> |
Returns
void
No Rails Equivalent
PERMANENT
Implementation of
tagBang()
tagBang(
name,content?,attributes?):void
Defined in: packages/activesupport/lib/xml-mini.ts:472
Parameters
| Parameter | Type |
|---|---|
name | string |
content? | unknown |
attributes? | Record<string, string> |
Returns
void
No Rails Equivalent
PERMANENT
Implementation of
target()
target():
string
Defined in: packages/activesupport/lib/xml-mini.ts:498
Returns
string