Pass Through documentation for Terminal component
Some sections may not be visible due to the availability of the particular feature.
Enter "date" to display the current date, "greet 0" for a message and "random" to get a random number.
Defines passthrough(pt) options of Terminal component.
label | type | description |
---|---|---|
root | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
commandList | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the commandList's DOM element. |
commands | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the commands' DOM element. |
commandValue | TerminalPassThroughType<HTMLAttributes<HTMLSpanElement>> | Used to pass attributes to the command value's DOM element. |
commandResponse | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the command response's DOM element. |
prompt | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the prompt's DOM element. |
promptValue | TerminalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the prompt value's DOM element. |
promptLabel | TerminalPassThroughType<HTMLAttributes<HTMLSpanElement>> | Used to pass attributes to the prompt label's DOM element. |
Defines passthrough(pt) options of TerminalWelcome component.
label | type | description |
---|---|---|
root | TerminalWelcomePassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of TerminalCommandList component.
label | type | description |
---|---|---|
root | TerminalCommandListPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |