Closed dbauszus-glx closed 3 weeks ago
A data-id is not a class!
A data-id is a pseudo id as the nomination suggests.
The data-id for a layer view/drawer element should be the layer.key.
The data-id for a [layer] group view/drawer should be the group id.
There should not be a queryselector for data-id=layer-drawer which is better solved with a combo class eg. .layer-view.drawer
data-id=layer-drawer
.layer-view.drawer
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
A data-id is not a class!
A data-id is a pseudo id as the nomination suggests.
The data-id for a layer view/drawer element should be the layer.key.
The data-id for a [layer] group view/drawer should be the group id.
There should not be a queryselector for
data-id=layer-drawer
which is better solved with a combo class eg..layer-view.drawer