001/* 002 * To change this license header, choose License Headers in Project Properties. 003 * To change this template file, choose Tools | Templates 004 * and open the template in the editor. 005 */ 006package gwt.material.design.jscore.client.api.db; 007 008import gwt.material.design.jscore.client.api.Function; 009import jsinterop.annotations.JsProperty; 010import jsinterop.annotations.JsType; 011 012/** 013 * 014 * @author Cristian Rinaldi <crinaldi@santafe.gov.ar> 015 * @param <T> 016 */ 017@JsType(isNative = true) 018public class IDBOpenDBRequest extends IDBRequest<IDBDatabase>{ 019 020 @JsProperty 021 public native void setOnupgradeneeded(Function<IDBVersionChangeEvent<IDBOpenDBRequest>, Void> fn); 022 023}