/** * Converts from {@link org.jboss.errai.common.client.dom.HTMLElement} to {@link HTMLElement}. * @param htmlElement The deprecated Errai HTMLElement * @return The GWT Elemental2 HTMLElement */ public HTMLElement asHTMLElement(final org.jboss.errai.common.client.dom.HTMLElement htmlElement) { return Js.cast(htmlElement); }
/** * Return the Vue Observer for the given object. The object must be reactive (visible in a Vue * Component) otherwise this method will return null. * * @param object The object we want to get the Vue Observer from * @return The Vue Observer for this Object */ public VueObserver getVueObserver(Object object) { return (VueObserver) ((JsPropertyMap) object).get("__ob__"); }
@Override public HTMLElement apply(T t) { return Js.uncheckedCast(t); } }
@JsOverlay static ErrorEventInit create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Return the attribute true if data for the attribute identified by the key is null. * * @param key the attribute key. * @return true if the data is null. */ @JsOverlay default int getIntegerValue( @Nonnull final String key ) { return Js.asPropertyMap( this ).getAny( key ).asInt(); }
@Nonnull @JsOverlay default String getStringValue( @Nonnull final String key ) { return Js.asPropertyMap( this ).getAny( key ).asString(); }
@JsOverlay default boolean getBooleanValue( @Nonnull final String key ) { return Js.asPropertyMap( this ).getAny( key ).asBoolean(); } }
@JsOverlay static MediaRecorderOptions create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Converts from {@link HTMLElement} to {@link org.jboss.errai.common.client.dom.HTMLElement}. This is just in case you * need to use your new elements with deprecated Errai HTMLElement. * @param htmlElement The deprecated Errai HTMLElement * @return The GWT Elemental2 HTMLElement */ public org.jboss.errai.common.client.dom.HTMLElement asHTMLElement(final HTMLElement htmlElement) { return Js.cast(htmlElement); }
@JsOverlay static MediaStreamTrackEventInit create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Converts from {@link HTMLElement} to {@link org.jboss.errai.common.client.dom.HTMLElement}. This is just in case you * need to use your new elements with deprecated Errai HTMLElement. * @param htmlElement The deprecated Errai HTMLElement * @return The GWT Elemental2 HTMLElement */ public org.jboss.errai.common.client.dom.HTMLElement asHTMLElement(final HTMLElement htmlElement) { return Js.cast(htmlElement); }
@JsOverlay static FocusEventInit create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Converts from {@link com.google.gwt.dom.client.Element} to {@link HTMLElement}. * @param gwtElement The deprecated GWT Element * @return The GWT Elemental2 HTMLElement */ public HTMLElement asHTMLElement(final com.google.gwt.dom.client.Element gwtElement) { return Js.cast(gwtElement); }
@JsOverlay static GetRootNodeOptions create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Converts from {@link com.google.gwt.dom.client.Element} to {@link HTMLElement}. * @param gwtElement The deprecated GWT Element * @return The GWT Elemental2 HTMLElement */ public HTMLElement asHTMLElement(final com.google.gwt.dom.client.Element gwtElement) { return Js.cast(gwtElement); }
@JsOverlay static KeyboardEventInit create() { return Js.uncheckedCast(JsPropertyMap.of()); }
/** * Converts from {@link org.jboss.errai.common.client.dom.HTMLElement} to {@link HTMLElement}. * @param htmlElement The deprecated Errai HTMLElement * @return The GWT Elemental2 HTMLElement */ public HTMLElement asHTMLElement(final org.jboss.errai.common.client.dom.HTMLElement htmlElement) { return Js.cast(htmlElement); }