Add more options to chart viewer (#1307)

* fixing up chart viewer

* formatting

* everything is working

* removed unnecessary code

* removed unneeded code
This commit is contained in:
Anthony Dresser
2018-05-02 10:15:51 -07:00
committed by GitHub
parent 6f10f7a21a
commit e82b7615b3
11 changed files with 522 additions and 134 deletions

View File

@@ -31,6 +31,7 @@ export interface IInputOptions extends IInputBoxStyles {
// {{SQL CARBON EDIT}} Candidate for addition to vscode
min?: string;
max?: string;
}
export interface IInputBoxStyles {
@@ -168,6 +169,11 @@ export class InputBox extends Widget {
this.input.min = this.options.min;
}
// {{SQL CARBON EDIT}} Canidate for addition to vscode
if (this.options.max) {
this.input.max = this.options.max;
}
if (this.ariaLabel) {
this.input.setAttribute('aria-label', this.ariaLabel);
}