Questions tagged [attributes]
The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.
attributes
13,140
questions
1
vote
0
answers
41
views
How select all elements with same attribute value
If i using [class~="logo"] { padding: 2px; } it will select all element that have contain logo in class attribute value. (Like <element class="logo-idk">) But how if i want ...
2
votes
1
answer
30
views
Get all properties with a custom attribute for external assembly
Topics I've read:
How to get a list of properties with a given attribute?
Reflection - get attribute name and value on property
I created an external assembly(Class Library) and I defined a class and ...
0
votes
0
answers
22
views
Why do I Get an Attribute Error While Running The Code of Google Translator(with gui)?
Here, I'm trying to make a google translator(translate languages) in python idle (version: 3.12) using GUI but have got some errors. I've tried to solve it multiple times but it later gives another ...
0
votes
1
answer
29
views
Values from codebase and classid in object tag is not rendering
Details:
ASP.NET application(aspx, VB)
I am trying to load an image from a URL by using the CODEBASE and CLASSID attributes of an html tag. I am unable to render it.
But the one with data attribute ...
0
votes
1
answer
15
views
Restrict Analysis Wizard DXL to specifc module at depth >1
I have inherited a problematic requirements tree, and need to do some quick and dirty work to make it presentable.
I have 1 high-level module with in-links from 4 modules at depth 1, but only 3 ...
0
votes
1
answer
56
views
Is there an MSVC equivalent to gcc's __attribute__(returns_nonnull))?
I learned about this little feature of GCC/Clang today:
Something * MyFunctionThatNeverReturnsNULL() __attribute__((returns_nonnull))
{
// code here that will never return a NULL value
static ...
0
votes
1
answer
51
views
How get attributes of function into this function?
When i get the attributes of my function. If i getName(), i've a path as name Base\Service\Client\filters .. How i can only get filters as name ?
#[filters(['email', 'emailVerified', 'enabled', '...
1
vote
0
answers
10
views
Python Enum : achieve multiple attributes with IntelliSense through code generation (jinja2)
CONTEXT
My project is about implementing the "conventional method for house-energy-efficiency assessment" in France (120 pages).
This method, comes with a huge .xls file providing definition ...
-1
votes
0
answers
10
views
how change attributes using svg-react library
convert svg to react component using svg-react library
in cli use command:
npx @svgr/cli --out-dir src/assets/icons/components --typescript --icon --memo --ref --jsx-runtime automatic --replace-attr-...
0
votes
0
answers
8
views
Thingsbaoard Gateway cannot update attributes from server
I am working with gateway and I am facing an issue related to attributes and RPC. At a minimum fixing attributes would be ok. I has been over 2 weeks trying to install and setup, but no success so far....
2
votes
1
answer
38
views
Attribute auto-calculation upon retrieval
I am trying to make a point object in 3D in python, and I have the following code
import numpy as np
class Point3D:
def __init__(self, x, y, z):
self.vector = np.matrix([x, y, z])
...
0
votes
1
answer
27
views
JavaScript is not working when Thymeleaf th:field attribute is added
I am trying to add dollar signs to multiple fields using an event listener. However, attribute th:field will replace attributes value and name in the input tag.
I know the function is working because ...
1
vote
0
answers
24
views
Wordpress Custom Column for Attribute Terms Color extra info
In wordpress with woocommerce plugin, I manage to add custom column to attribute. Column is "hex code" which displays the
terms' color hex code. It displays ok. But there is also extra ...
-1
votes
0
answers
30
views
Add id href to url to Magento 2 php attribute
in Magento 2 I am getting a product link from an attribute like so
<?= $_product->getData('ecc_related_documents_synced') ? '<a href='.$_product->getData('ecc_related_documents_synced').' &...
-1
votes
1
answer
85
views
Change displayed Variable Product Attributes on WooCommerce Shop Page
I found some code that show variable product attributes on WooCommerce shop page:
/**
* Replace add to cart button in the loop.
*/
function iconic_change_loop_add_to_cart() {
remove_action( '...