awt2542 / find-for-framer Goto Github PK
View Code? Open in Web Editor NEWTarget layers in Framer.js using CSS-like selectors
Target layers in Framer.js using CSS-like selectors
This is a super handy module—thanks for writing it!
So right in my layers list I have:
rectangle1
...
rectangle50
When I go:
for layer in $find 'rectangle3'
print layer
It will return <Layer id:35 name:rectangle30 (10,900) 280x25>
. Is that intended? I am trying to get rectangle3
.
Thanks!
Hi i'm new to framer and coffee-script however I believe the library update may have cause a few issues with this module.
getting this:
TypeError: .contains is not a function. (In '.contains(selector, c)', '_.contains' is undefined)
On the latest update of Framer (V73)
It looks like there was a change to Framer.CurrentContext.getLayers()
Running Find-for-Framer on an old project, I'm getting this error
TypeError: Framer.CurrentContext.getLayers is not a function. (In 'Framer.CurrentContext.getLayers()', 'Framer.CurrentContext.getLayers' is undefined)
😢 Anyone know a way of fixing?
When trying to use the module in a for loop, it doesn't return the proper object
Doesn't pick up a .name property? Empty from vektor objects?
Hi, what do you think about single/multiple selection by index?
Hi there,
thanks for this great component.
Unfortunately I'm bumping into the error above as I try to use it.
_findAll — findModule.coffee:19TypeError: Framer.CurrentContext.getLayers is not a function. (In 'Framer.CurrentContext.getLayers()', 'Framer.CurrentContext.getLayers' is undefined)
This seems do be caused by layers = Framer.CurrentContext.getLayers()
in line 19.
I have the most up to date framer lib, am I missing anything?
Hi there, thanks for the module!
I have a layer named "layer[something]" and I'm trying to grab it with ff("layer[*"), but that doesn't work.
Why is that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.