Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device Type "undefined" #6

Open
Tuckers opened this issue Dec 4, 2017 · 3 comments
Open

Device Type "undefined" #6

Tuckers opened this issue Dec 4, 2017 · 3 comments

Comments

@Tuckers
Copy link

Tuckers commented Dec 4, 2017

I'm getting an error "Device type "undefined"" when using:

Framer.Device.deviceType = "fullscreen"

Is there a work around for this?

@Tuckers
Copy link
Author

Tuckers commented Dec 4, 2017

To add additional context, I've been able to get it sort of working using device = new Framer.DeviceView, but the numbers I get for Screen.width and Screen.height appear to be exactly half the actual window dimensions.

@Tuckers
Copy link
Author

Tuckers commented Dec 4, 2017

I'm wondering if this is related to the pre compiled version of framer?

@anjalyes
Copy link

anjalyes commented Oct 4, 2019

I had a similar problem when I added a new module. Try adding Framer.Device = new Framer.DeviceView() in your main coffee/js file instead of device = new Framer.DeviceView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants