Skip to main content

Questions tagged [attributes]

The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.

1 vote
0 answers
22 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 ...
LIGMATV's user avatar
  • 11
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 ...
DooDoo's user avatar
  • 13.3k
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 ...
Hania Asim's user avatar
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 ...
Anonymous's user avatar
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 ...
SysEng91's user avatar
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 ...
Jeremy Friesner's user avatar
0 votes
1 answer
50 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', '...
M.btm's user avatar
  • 1
1 vote
0 answers
9 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 ...
Lionel du Peloux's user avatar
-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-...
Lelik's user avatar
  • 27
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....
Tatu IoT's user avatar
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]) ...
Math Magician's user avatar
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 ...
Ali's user avatar
  • 23
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 ...
Kim's user avatar
  • 65
-1 votes
0 answers
28 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').' &...
totneschap's user avatar
-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( '...
Shami Asad's user avatar

15 30 50 per page
1
2 3 4 5
877