API Reference
Function
New-HTMLTimeline
Creates a new HTML timeline with customizable content.
Remarks
This function creates an HTML timeline with the specified content. The timeline can be used to display a sequence of events or steps in a visually appealing manner.
Examples
EXAMPLE 1
New-HTMLTimeline -Content {
New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 1" }
New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 2" }
New-HTMLTag -Tag 'div' -Attributes @{ class = 'event' } -Value { "Event 3" }
}
Creates an HTML timeline with three events.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLTimeline [-Content <ScriptBlock>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Content ScriptBlock
- Specifies the content of the HTML timeline as a script block.