getItems() multi data option

31 views
Skip to first unread message

Ehsan Fereidoonnezhad

unread,
Feb 13, 2023, 9:07:02 AM2/13/23
to Paper.js
Hello guys
Is it possible to filter multi data of same attribute?
let typeOneAndTwo = project.activeLayer.getItems({data: {type: ["type1", "type2"]}});
in fact i want to get type1 and type2 data.type items.

thank you.
Reply all
Reply to author
Forward
0 new messages