Beispiel #1
0
 public Task SetOptions(AutocompleteOptions options)
 {
     return(_jsObjectRef.InvokeAsync("setOptions", options));
 }
Beispiel #2
0
        public async static Task <Autocomplete> CreateAsync(IJSRuntime jsRuntime, ElementReference inputField, AutocompleteOptions opts = null)
        {
            var jsObjectRef = await JsObjectRef.CreateAsync(jsRuntime, "google.maps.places.Autocomplete", inputField, opts);

            var obj = new Autocomplete(jsObjectRef);

            return(obj);
        }