gd-bs 5.6.6 → 5.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.6.6",
3
+ "version": "5.6.7",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -278,12 +278,12 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
278
278
  * Public Interface
279
279
  */
280
280
 
281
- getValue() { return this.textbox.value; }
281
+ getValue() { return this.elTextbox.value; }
282
282
 
283
283
  // Sets the textbox value
284
284
  setValue(value: string = "") {
285
285
  // Set the textbox value
286
- this.textbox.value = value;
286
+ this.elTextbox.value = value;
287
287
 
288
288
  // See if a change event exists
289
289
  if (this._initFl && this.props.onChange) {
@@ -293,6 +293,6 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
293
293
  }
294
294
 
295
295
  // Returns the textbox
296
- get textbox(): HTMLInputElement | HTMLTextAreaElement { return this.el.querySelector("input") || this.el.querySelector("textarea"); }
296
+ get elTextbox(): HTMLInputElement | HTMLTextAreaElement { return this.el.querySelector("input") || this.el.querySelector("textarea"); }
297
297
  }
298
298
  export const InputGroup = (props: IInputGroupProps, template?: string): IInputGroup => { return new _InputGroup(props, template); }
@@ -46,6 +46,9 @@ export interface IInputGroup {
46
46
  /** The input group element. */
47
47
  el: HTMLElement;
48
48
 
49
+ /** Reference to the textbox input/textarea element. */
50
+ elTextbox: HTMLInputElement | HTMLTextAreaElement;
51
+
49
52
  /** Method to get the value. */
50
53
  getValue: () => string;
51
54
 
@@ -57,9 +60,6 @@ export interface IInputGroup {
57
60
 
58
61
  /** Shows the input group. */
59
62
  show: () => void;
60
-
61
- /** Reference to the textbox input/textarea element. */
62
- textbox: HTMLInputElement | HTMLTextAreaElement;
63
63
  }
64
64
 
65
65
  /**