Skip to content

[css-typed-om] CSSColor should use indexed properties, not .channels #1037

Open
@tabatkins

Description

@tabatkins

The non-generic color functions have their channels exposed as named properties, making it easy to manipulate them. CSSColor, however, has its (unnamed) channels instead exposed as an array hanging off of the .channels property, making them longer to access.

I should just make those channels be indexed properties.

(Brought up by Lea in #1034 (comment))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions