WebReflection / WebReflection/linkedom

Export CSSOM classes

Open
#201 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
2.1k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

It can be usefull to be able to get and work with CSS classes, as it's already used in the library, why not make it accessible in root module and window like the rest of classes?

https://github.com/WebReflection/linkedom/blob/5527ee4aada82bd5cc07c739b87e372269922244/esm/html/style-element.js#L1

export * from 'cssom'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading esm/html/style-element.js at the linked export, then trace how classes are exposed from the root module and on window. Done means the CSSOM classes are accessible through both public entry points, with existing behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.