feathericons / feathericons/feather

Using feather.replace() on a single DOM element

Open
#911 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
26k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Is there a way to call `feather.replace()` with a DOM element so that you can programmatically call it on a single DOM element instead of replacing all the elements in the DOM?

Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and documentation for feather.replace() and trace how it selects DOM elements. Determine how a supplied single DOM element should be accepted without changing the existing all-elements behavior, then verify that only the requested element is replaced and that existing usage still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.