Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Support of inner Sketch features via data-sketch-{feature} attribute #69

Open
yakunins opened this issue Jan 10, 2019 · 0 comments
Open

Comments

@yakunins
Copy link

Similar to issue Using specific data attributes for Sketch.

Feature description
Make some inner Sketch features avaliable in the way like this: <div data-sketch-locked>This group is locked in Sketch</div>

We have already implemented some attributes here → handleSymbolAttributes.js @servicetitan/html-sketchapp/st-dev

So these attributes, that we have been working on (bugs to be found!):

  1. data-sketch-constraints="align left, fixed width"
  2. data-sketch-rotation="18deg"
  3. data-sketch-padding="10px 16px" (with Paddy plugin)
  4. data-sketch-spacing="10h 12v" (with Paddy plugin)
  5. data-sketch-textlabel="First name"
  6. data-sketch-locked=true
  7. data-sketch-ungroup=true
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant