phpgt / phpgt/DomTemplate

`data-element` should be `data-bind:element`

Open Beginner friendly
#534 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
18
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This will match the opposite attribute, data-bind:remove.

To avoid backwards-compatible breaks, both data-element and data-bind:element should be available as synonyms.

Contributor guide

Open the contributing guide

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 locating the existing handling of the data-element attribute and trace how template bindings are resolved. Add data-bind:element as an equivalent name while preserving data-element, then verify that both attributes produce the same behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, php
Domain
frontend, web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.