jsinterop.base.Js.asPropertyMap()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(84)

本文整理了Java中jsinterop.base.Js.asPropertyMap()方法的一些代码示例,展示了Js.asPropertyMap()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Js.asPropertyMap()方法的具体详情如下:
包路径:jsinterop.base.Js
类名称:Js
方法名:asPropertyMap

Js.asPropertyMap介绍

暂无

代码示例

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode audio( @Nonnull final AudioProps props )
{
 return createElement( "audio", Js.asPropertyMap( props ), (ReactNode[]) null );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode br( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "br", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode footer( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "footer", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode header( @Nonnull final HtmlProps props )
{
 return createElement( "header", Js.asPropertyMap( props ), (ReactNode[]) null );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode h1( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "h1", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode h3( @Nonnull final HtmlProps props )
{
 return createElement( "h3", Js.asPropertyMap( props ), (ReactNode[]) null );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode h4( @Nonnull final HtmlProps props )
{
 return createElement( "h4", Js.asPropertyMap( props ), (ReactNode[]) null );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode iframe( @Nonnull final IFrameProps props, @Nullable final ReactNode... children )
{
 return createElement( "iframe", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode ol( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "ol", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode tbody( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "tbody", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode thead( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "thead", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode tr( @Nonnull final HtmlProps props, @Nullable final ReactNode... children )
{
 return createElement( "tr", Js.asPropertyMap( props ), children );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode br( @Nonnull final HtmlProps props, @Nonnull final String content )
{
 return createElement( "br", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode col( @Nonnull final ColProps props, @Nonnull final String content )
{
 return createElement( "col", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode i( @Nonnull final HtmlProps props, @Nonnull final String content )
{
 return createElement( "i", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode iframe( @Nonnull final IFrameProps props, @Nonnull final String content )
{
 return createElement( "iframe", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode ol( @Nonnull final HtmlProps props, @Nonnull final String content )
{
 return createElement( "ol", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode option( @Nonnull final OptionProps props, @Nonnull final String content )
{
 return createElement( "option", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode span( @Nonnull final HtmlProps props, @Nonnull final String content )
{
 return createElement( "span", Js.asPropertyMap( props ), text( content ) );
}

代码示例来源:origin: org.realityforge.react4j/react4j-dom

@Nonnull
public static ReactNode source( @Nonnull final SourceProps props, @Nonnull final String content )
{
 return createElement( "source", Js.asPropertyMap( props ), text( content ) );
}

相关文章