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 */
016@JsType(isNative = true)
017public class IDBOpenDBRequest extends IDBRequest<IDBDatabase>{
018
019    @JsProperty
020    public native void setOnupgradeneeded(Function<IDBVersionChangeEvent<IDBOpenDBRequest>, Void> fn);
021    
022}