You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
Is it possible that the position of the anchor can be changed? An option like rotation-ancohr:top|left|right|bottom (or rotation-ancohr-position) offers more flexibility in other usage scenarios.
Or is that already possible today through existing CSS properties?
Use Case
I use drr for a project where the user has to find out the alignment of different objects to each other. The anchor makes it obvious to the user how the element must be aligned in the superordinate context (anchor always upwards ;) ).
If the anchor positions of the displayed elements can be changed for each deckgo-drr object, the alignment of the elements in the overall context is no longer necessarily obvious.
The text was updated successfully, but these errors were encountered:
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?
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.
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Affected part of DeckDeckGo
Feature Description
Is it possible that the position of the anchor can be changed? An option like
rotation-ancohr:top|left|right|bottom
(orrotation-ancohr-position
) offers more flexibility in other usage scenarios.Or is that already possible today through existing CSS properties?
Use Case
I use drr for a project where the user has to find out the alignment of different objects to each other. The anchor makes it obvious to the user how the element must be aligned in the superordinate context (anchor always upwards ;) ).
If the anchor positions of the displayed elements can be changed for each deckgo-drr object, the alignment of the elements in the overall context is no longer necessarily obvious.
The text was updated successfully, but these errors were encountered: