How to use nativescript-ui-autocomplete - 5 common examples

To help you get started, we’ve selected a few nativescript-ui-autocomplete 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 anihalaney / rwa-trivia / projects / trivia / src / app / game-play / components / new-game / new-game.component.tns.ts View on Github external
private initDataItems() {
    this.tagItems = new ObservableArray();

    for (let i = 0; i < this.tags.length; i++) {
      this.tagItems.push(new TokenModel(this.tags[i], undefined));
    }
  }
github anihalaney / rwa-trivia / projects / trivia / src / app / user / components / profile-settings / profile-settings.component.tns.ts View on Github external
private initDataItems() {
    this.tagItems = new ObservableArray();

    for (let i = 0; i < this.tagsAutoComplete.length; i++) {
      this.tagItems.push(new TokenModel(this.tagsAutoComplete[i], undefined));
    }
  }
github anihalaney / rwa-trivia / projects / trivia / src / app / user / components / question-add-update / question-add-update.component.tns.ts View on Github external
private initDataItems() {
    this.tagItems = new ObservableArray();

    for (let i = 0; i < this.tags.length; i++) {
      this.tagItems.push(new TokenModel(this.tags[i], undefined));
    }
  }
github halfnelson / svelte-native-nativescript-ui / src / autocomplete / index.ts View on Github external
private loadView(viewType: string): View {
        if (viewType != AutoCompleteViewType.ItemView)
            return null;
        
        let suggestionView = this.nativeView.suggestionView
        if (!suggestionView || !suggestionView.__SvelteNativeElement__) return;

        let componentClass = (suggestionView.__SvelteNativeElement__ as SuggestionViewElement).itemTemplateComponent;
        if (!componentClass) return null;

        logger.debug("creating view for " + viewType);

        let wrapper = createElement('StackLayout') as NativeViewElementNode
github halfnelson / svelte-native-nativescript-ui / src / autocomplete / index.ts View on Github external
"itemViewLoader": PropType.Value,
            "layoutMode": PropType.Value,
            "loadSuggestionsAsync": PropType.Value,
            "minimumCharactersToSearch": PropType.Value,
            "noResultsText": PropType.Value,
            "readOnly": PropType.Value,
            "selectedTokens": PropType.Value,
            "showCloseButton": PropType.Value,
            "suggestMode": PropType.Value,
            "suggestionView": PropType.Value,
            "text": PropType.Value,
            "items": PropType.Value,
            "hint": PropType.Value
        });
        this.nativeElement.itemViewLoader = (viewType: string) => this.loadView(viewType)
        this.nativeView.on(RadAutoCompleteTextView.itemLoadingEvent, (args) => { this.updateListItem(args as AutocompleteItemEventData) });

    }

nativescript-ui-autocomplete

Improve data entry speed and accuracy by triggering auto-completion for text entries.

Apache-2.0
Latest version published 1 year ago

Package Health Score

65 / 100
Full package analysis