mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
Feat/add dom component (#2622)
* add dom component for model view * formatting * make css style hardcoded in dom.component * comment out the unused CSS * address comments * address comment
This commit is contained in:
committed by
Kevin Cunnane
parent
08f2e72af8
commit
917f9eead3
12
src/sql/sqlops.proposed.d.ts
vendored
12
src/sql/sqlops.proposed.d.ts
vendored
@@ -19,6 +19,7 @@ declare module 'sqlops' {
|
||||
navContainer(): ContainerBuilder<NavContainer, any, any>;
|
||||
divContainer(): DivBuilder;
|
||||
flexContainer(): FlexBuilder;
|
||||
dom(): ComponentBuilder<DomComponent>
|
||||
card(): ComponentBuilder<CardComponent>;
|
||||
inputBox(): ComponentBuilder<InputBoxComponent>;
|
||||
checkBox(): ComponentBuilder<CheckBoxComponent>;
|
||||
@@ -575,6 +576,13 @@ declare module 'sqlops' {
|
||||
options?: vscode.WebviewOptions;
|
||||
}
|
||||
|
||||
export interface DomProperties extends ComponentProperties {
|
||||
/**
|
||||
* Contents of the DOM component.
|
||||
*/
|
||||
html?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Editor properties for the editor component
|
||||
*/
|
||||
@@ -618,6 +626,10 @@ declare module 'sqlops' {
|
||||
onCardSelectedChanged: vscode.Event<any>;
|
||||
}
|
||||
|
||||
export interface DomComponent extends Component, DomProperties {
|
||||
|
||||
}
|
||||
|
||||
export interface TextComponent extends Component {
|
||||
value: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user