How to use the @ui5/webcomponents-base/dist/i18nBundle.js.getI18nBundle function in @ui5/webcomponents-base

To help you get started, we’ve selected a few @ui5/webcomponents-base examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SAP / ui5-webcomponents / packages / main / src / Input.js View on Github external
this.previousValue = undefined;

		// Indicates, if the component is rendering for first time.
		this.firstRendering = true;

		// all sementic events
		this.EVENT_SUBMIT = "submit";
		this.EVENT_CHANGE = "change";
		this.EVENT_INPUT = "input";
		this.EVENT_SUGGESTION_ITEM_SELECT = "suggestionItemSelect";

		// all user interactions
		this.ACTION_ENTER = "enter";
		this.ACTION_USER_INPUT = "input";

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / MultiComboBox.js View on Github external
constructor() {
		super();

		this._filteredItems = [];
		this._inputLastValue = "";
		this._deleting = false;
		this._validationTimeout = null;
		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / TextArea.js View on Github external
constructor() {
		super();

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / CheckBox.js View on Github external
constructor() {
		super();

		this._label = {};
		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / Tokenizer.js View on Github external
this._tokensCount = 0;
		this._resizeHandler = this._handleResize.bind(this);
		this._itemNav = new ItemNavigation(this);

		this._itemNav.getItemsCallback = () => {
			if (this.disabled) {
				return [];
			}

			return this._getTokens().filter((token, index) => {
				return index < (this._getTokens().length - this.overflownTokens.length);
			});
		};

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / DatePicker.js View on Github external
this._getInput().focus();
				} else if (focusableDay) {
					focusableDay.focus();

					dayPicker._itemNav.current = parseInt(focusableDay.getAttribute("data-sap-index"));
					dayPicker._itemNav.update();
				}
			},
		};

		this._calendar = {
			onSelectedDatesChange: this._handleCalendarSelectedDatesChange.bind(this),
			selectedDates: [],
		};

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / tools / lib / init-package / resources / src / Demo.js View on Github external
constructor() {
		super();
		this.i18nBundle = getI18nBundle("INIT_PACKAGE_VAR_NAME");
	}
github SAP / ui5-webcomponents / packages / main / src / RadioButton.js View on Github external
constructor() {
		super();

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / Button.js View on Github external
constructor() {
		super();

		this._deactivate = () => {
			if (this.active) {
				this.active = false;
			}
		};

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}
github SAP / ui5-webcomponents / packages / main / src / Badge.js View on Github external
constructor() {
		super();

		this.i18nBundle = getI18nBundle("@ui5/webcomponents");
	}

@ui5/webcomponents-base

UI5 Web Components: webcomponents.base

Apache-2.0
Latest version published 19 days ago

Package Health Score

93 / 100
Full package analysis