Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initializeTypeahead() {
this.idPropery = this.idProperty|| 'id';
this.displayProperty = this.displayProperty || 'name';
this._textField = new textField.MDCTextField(this._$element.find('.mdc-text-field')[0]);
this._menu = new menuSurface.MDCMenuSurface(this._$element.find('.mdc-menu-surface')[0]);
this._menu.hoistMenuToBody();
this.initializeOptions();
}