items property
List<NotebookCellOutputItem>
get
items
The output items of this output. Each item must represent the same result. Note that repeated MIME types per output is invalid and that the editor will just pick one of them.
new vscode.NotebookCellOutput([
vscode.NotebookCellOutputItem.text('Hello', 'text/plain'),
vscode.NotebookCellOutputItem.text('<i>Hello</i>', 'text/html'),
vscode.NotebookCellOutputItem.text('_Hello_', 'text/markdown'),
vscode.NotebookCellOutputItem.text('Hey', 'text/plain'), // INVALID: repeated type, editor will pick just one
])
Implementation
_i2.List<_i3.NotebookCellOutputItem> get items => (_i5.getProperty(
this,
'items',
) as _i2.List)
.cast();
set
items
(List<NotebookCellOutputItem> value)
Implementation
set items(_i2.List<_i3.NotebookCellOutputItem> value) {
_i5.setProperty(
this,
'items',
value,
);
}