001package react4j.dom.events;
002
003import javax.annotation.Nonnull;
004import jsinterop.annotations.JsOverlay;
005import jsinterop.annotations.JsPackage;
006import jsinterop.annotations.JsType;
007
008@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "Object" )
009public class StyleMedia
010{
011  private String type;
012
013  public native boolean matchMedium( @Nonnull String mediaquery );
014
015  @JsOverlay
016  public final String getType()
017  {
018    return type;
019  }
020}