mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -05:00
add animation when button is clicked and fix title in button (#2488)
* add animation similar to toolbar in vscode and fix title in button * remove bur method in button
This commit is contained in:
15
src/sql/sqlops.proposed.d.ts
vendored
15
src/sql/sqlops.proposed.d.ts
vendored
@@ -561,6 +561,7 @@ declare module 'sqlops' {
|
||||
label?: string;
|
||||
isFile?: boolean;
|
||||
fileContent?: string;
|
||||
title?: string;
|
||||
}
|
||||
|
||||
export interface LoadingComponentProperties {
|
||||
@@ -662,8 +663,22 @@ declare module 'sqlops' {
|
||||
}
|
||||
|
||||
export interface ButtonComponent extends Component, ButtonProperties {
|
||||
/**
|
||||
* The label for the button
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* The title for the button. This title will show when it hovers
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* Icon Path for the button.
|
||||
*/
|
||||
iconPath: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
|
||||
/**
|
||||
* An event called when the button is clicked
|
||||
*/
|
||||
onDidClick: vscode.Event<any>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user