google / google/material-design-lite

Reload / init javascript behaviors

Open
#5,081 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

Is there any way to reload / init the javascript behaviors over new elements within the DOM ? I'm trying to init MaterialMenu component in particular.

Thanks.
Mario

Contributor guide

Open the contributing guide

Research direction

The issue names MaterialMenu and asks how to reload or initialize JavaScript behaviors on newly added DOM elements, but it does not identify a file or test. Start by tracing MaterialMenu initialization and the behavior lifecycle in the project source. Done means the supported approach for newly inserted elements is established or the requested capability is clearly scoped.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.