001package react4j.dom.proptypes.html; 002 003import javax.annotation.Nonnull; 004import jsinterop.annotations.JsOverlay; 005import jsinterop.annotations.JsPackage; 006import jsinterop.annotations.JsType; 007 008/** 009 * Props for source elements. Refer to http://www.w3schools.com/tags/tag_source.asp 010 */ 011@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "Object" ) 012public class SourceProps 013 extends HtmlGlobalFields<SourceProps> 014{ 015 @JsOverlay 016 @Nonnull 017 public final SourceProps media( String s ) 018 { 019 setMedia( s ); 020 return self(); 021 } 022 023 @JsOverlay 024 @Nonnull 025 public final SourceProps src( String s ) 026 { 027 setSrc( s ); 028 return self(); 029 } 030 031 @JsOverlay 032 @Nonnull 033 public final SourceProps type( String s ) 034 { 035 setType( s ); 036 return self(); 037 } 038}