Skip to content

how can I compare layer attributes? #2

@juanbrujo

Description

@juanbrujo

I need to if/switch by layer attributes but I'm getting true/false and returning a console.log that's not necessary:

visible attribute not exist
This layer (.box-avatar) is not a text layer

https://github.com/imgqb/psd-parser/blob/master/lib/handler.js#L16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions