Giter Site home page Giter Site logo

Comments (4)

rfuehrer avatar rfuehrer commented on May 25, 2024 1

Ii'll be happy to try my hand at it. I have a project right now in which i'm using the function for the first time - I hope it will be accepted by the client, then I can also invest more time here accordingly. The decisive factor is the feedback from the client.

As soon as it becomes more concrete, i will gladly show the usecase live.

from deckdeckgo.

peterpeterparker avatar peterpeterparker commented on May 25, 2024

Thank you for the feature request.

What do you mean with "the position of the anchor can be changed"?

Do you mean like being able to select which anchor is active or not? Like saying "the top left corner can be used to rotate the element but no other corner" or something else?

from deckdeckgo.

rfuehrer avatar rfuehrer commented on May 25, 2024

no, I mean the rotation anchor/handle, which is always shown in the middle of the upper line (marked in red).

image

Actually my intention is to change the orientation of an embedded image to the touch point for rotations.

This can be achieved by rotating the image or moving the rotation handle to the left, right or bottom border of this object.

The intention is not to reveal the natural orientation of the image through the handle :)

from deckdeckgo.

peterpeterparker avatar peterpeterparker commented on May 25, 2024

Thank you for the explanation, all clear.

You would like to add new property (@Prop()) which should be use to display the "rotate" anchor either at the top, right (or end), bottom or left (or start).

The property should probably add a class to the shadowed dom and, the div.rotate should then be modified in the css accordingly.

That should do the trick.

Currently, we do not have such requirement and have also other shorten goals, therefore I won't personally implement it, at least within next weeks.

That being said, I am not against it. If you can provide a PR, happy to review it.

from deckdeckgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.