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

Vue docs / samples seems to be missing #221

Open
Andrioden opened this issue Jul 17, 2023 · 1 comment
Open

Vue docs / samples seems to be missing #221

Andrioden opened this issue Jul 17, 2023 · 1 comment

Comments

@Andrioden
Copy link

Hi! Cool to see how integrated konvajs is with vue. However the samples and documentation is lacking a bit.

Se here:

For an example i am wondering how i can position a stage. With pure js this is done with.

this.stage.position({ x: newX,  y: newY })
@Andrioden
Copy link
Author

Andrioden commented Jul 17, 2023

I figured out how to do it thou

html

<v-stage ref="stage">
</v-stage>

js

this.$refs.stage.getNode().position({
    x: newX,
    y: newY
})

However, i still recommend updating the docs ✌️

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

1 participant