/** * Load the specified URL * * @param NewURL New URL to load */ UFUNCTION(BlueprintCallable, Category="Web Browser") voidLoadURL(FString NewURL);
/** * Load a string as data to create a web page * * @param Contents String to load * @param DummyURL Dummy URL for the page */ UFUNCTION(BlueprintCallable, Category="Web Browser") voidLoadString(FString Contents, FString DummyURL);
/** * Executes a JavaScript string in the context of the web page * * @param ScriptText JavaScript string to execute */ UFUNCTION(BlueprintCallable, Category = "Web Browser") voidExecuteJavascript(const FString& ScriptText);
/** * Get the current title of the web page */ UFUNCTION(BlueprintCallable, Category="Web Browser") FText GetTitleText()const;
/** * Gets the currently loaded URL. * * @return The URL, or empty string if no document is loaded. */ UFUNCTION(BlueprintCallable, Category = "Web Browser") FString GetUrl()const;
/** Called when the Url changes. */ UPROPERTY(BlueprintAssignable, Category = "Web Browser|Event") FOnUrlChanged OnUrlChanged;
/** Called when a popup is about to spawn. */ UPROPERTY(BlueprintAssignable, Category = "Web Browser|Event") FOnBeforePopup OnBeforePopup;
public:
//~ Begin UWidget interface virtualvoidSynchronizeProperties()override; // End UWidget interface
protected: /** URL that the browser will initially navigate to. The URL should include the protocol, eg http:// */ UPROPERTY(EditAnywhere, Category=Appearance) FString InitialURL;
/** Should the browser window support transparency. */ UPROPERTY(EditAnywhere, Category=Appearance) bool bSupportsTransparency;
/** * Load the specified URL * * @param NewURL New URL to load */ UFUNCTION(BlueprintCallable, Category = "Web Browser") voidLoadURL(FString NewURL);
/** * Load a string as data to create a web page * * @param Contents String to load * @param DummyURL Dummy URL for the page */ UFUNCTION(BlueprintCallable, Category = "Web Browser") voidLoadString(FString Contents, FString DummyURL);
/** * Executes a JavaScript string in the context of the web page * * @param ScriptText JavaScript string to execute */ UFUNCTION(BlueprintCallable, Category = "Web Browser") voidExecuteJavascript(const FString& ScriptText);
/** * Get the current title of the web page */ UFUNCTION(BlueprintCallable, Category = "Web Browser") FText GetTitleText()const;
/** * Gets the currently loaded URL. * * @return The URL, or empty string if no document is loaded. */ UFUNCTION(BlueprintCallable, Category = "Web Browser") FString GetUrl()const;
/** Called when the Url changes. */ UPROPERTY(BlueprintAssignable, Category = "Web Browser|Event") FOnUrlChanged OnUrlChanged;
/** Called when a popup is about to spawn. */ UPROPERTY(BlueprintAssignable, Category = "Web Browser|Event") FOnBeforePopup OnBeforePopup;
public:
//~ Begin UWidget interface virtualvoidSynchronizeProperties()override; // End UWidget interface
protected: /** URL that the browser will initially navigate to. The URL should include the protocol, eg http:// */ UPROPERTY(EditAnywhere, Category = Appearance) FString InitialURL;
/** Should the browser window support transparency. */ UPROPERTY(EditAnywhere, Category = Appearance) bool bSupportsTransparency;
var myChart = echarts.init(document.getElementById("main")); var x = [1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,20,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]; var y = [];