In AskiaScript, this object represents the collection of ADX Content within the current output. It is accessible through the CurrentADC.Contents or CurrentADP.Contents property.
See also:
In this topic:
Returns the ADC Content at the specified index, within the current output.
CurrentADC.Contents[1] ' => <ADCContent::static:tick.png>
CurrentADC.Contents[1].FileName ' => "tick.png"
CurrentADC.Contents[1].Type ' => "image"
Returns the count of contents within the current output.
Returns a Number.
CurrentADC.Contents.Count ' => 2
Returns a string which represents the ADX Content collection in JSON notation.
Returns a String.
CurrentADC.Contents.ToString() ' => [
{
"type":"image",
"fileName":"tick.png"
"mode":"static",
"position":"none"
},
{
"type":"html",
"fileName":"input.hmtl",
"mode":"dynamic",
"position":"placeholder"
}
]
Always returns "adx-contents".
Returns a String.
CurrentADC.Contents.TypeOf() ' => "adx-contents"
CurrentADP.Contents.TypeOf() ' => "adx-contents"