mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 09:42:34 -05:00
Add headingLevel to textComponent (#16320)
* Add headingLevel to textComponent * fixes * comment * Add valid heading level check * change check * Heading level type * one more
This commit is contained in:
13
src/sql/azdata.proposed.d.ts
vendored
13
src/sql/azdata.proposed.d.ts
vendored
@@ -574,6 +574,19 @@ declare module 'azdata' {
|
||||
onInput: vscode.Event<number>;
|
||||
}
|
||||
|
||||
/**
|
||||
* The heading levels an HTML heading element can be.
|
||||
*/
|
||||
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
||||
|
||||
export interface TextComponentProperties {
|
||||
/**
|
||||
* The heading level for this component - if set the text component will be created as an h#
|
||||
* HTML element with this value being the #.
|
||||
*/
|
||||
headingLevel?: HeadingLevel;
|
||||
}
|
||||
|
||||
export namespace nb {
|
||||
/**
|
||||
* An event that is emitted when the active Notebook editor is changed.
|
||||
|
||||
Reference in New Issue
Block a user