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:
Abbie Petchtes
2018-09-11 10:37:02 -07:00
committed by GitHub
parent 4ea13bdbc0
commit a5c537197c
7 changed files with 59 additions and 5 deletions

View File

@@ -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>;
}