We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<div class="test-context"></div>
var container = document.querySelectorAll('.test-context')[0]; var test = Sketch.augment(container);
As far as i'm aware, i should be able to augment an existing DOM element and manipulate said DOM element using CSS.
I seem to be getting the following error:
Cannot read property 'height' of undefined
On sketch.js 298, which looks like it's not getting the style.height correctly for DOM elements.
sketch.js 298
Am i missing a step? Or is this an error with Sketch?
The text was updated successfully, but these errors were encountered:
Looks like this could be a bug, yes—I'll look into that. Although for now it will work if you use create instead, passing in the container:
create
var test = Sketch.create({ container: container });
Sorry, something went wrong.
No branches or pull requests
As far as i'm aware, i should be able to augment an existing DOM element and manipulate said DOM element using CSS.
I seem to be getting the following error:
On
sketch.js 298
, which looks like it's not getting the style.height correctly for DOM elements.Am i missing a step? Or is this an error with Sketch?
The text was updated successfully, but these errors were encountered: