Skip to content

can I control other pages or url #15

@mmycjguo

Description

@mmycjguo

I use MMM-SmartWebDisplay,Can I use this module's gotourl to control smartwebdisplay's url? or change mmm-pages page

		if (typeof data.gotoUrl !== 'undefined') {
			if (data.gotoUrl === "back") {
				window.history.back();
			} else {
				
				this.sendNotification("SWD_URL", "http://10.227.10.56:9000/material/?page=now-playing");
				
				//window.location.assign(data.gotoUrl);
			}

I don’t know how to write code. I spent a lot of time and tried a lot of methods, but I couldn’t get enough results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions