Skip to content

The StyleObserver constructor doesn't accept single values as the values of the properties and targets options #136

@DmitrySharabin

Description

@DmitrySharabin

Found by @evayde in #135.

Although the documentation mentions that targets and properties can be either a single value or an iterable,

Image

this is true only for the observe() and unobserve() methods. I wonder if it's a bug in the docs or the constructor? 🤔

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