Most voted "attributes" questions
Attributes can be used to define the structure of a class in OO. Attributes are also, the additional information placed in the start tags in HTML, consisting of two parts: name and attribute value
Learn more…112 questions
Sort by count of
-
0
votes1
answer81
viewsLaravel returns empty attributes in Edit method
I have another similar route working perfect, I do not know what I missed.. I thank anyone who can help me. Route: Route::get('/itensnfe/{itemnfe}/edit',…
-
0
votes0
answers60
viewsProperty 'Foods' is private and only accessible Within class 'Mainlifecyclecomponent'
How to access private attributes within html? I created private food, but I can’t access it in html because it’s private. has some way to access? main-Lifecycle.ts import { Client } from…
-
0
votes0
answers29
viewsSET method does not modify vector attribute on object of a class
Follow the full code: // sistemafinanceiro.h #ifndef SISTEMAFINANCEIRO_H #define SISTEMAFINANCEIRO_H #include"banco.h" class SistemaFinanceiro { private: Banco banco; public: SistemaFinanceiro();…
-
0
votes1
answer10
viewsInitialization list of members with attributes from another class (inheritance)
I know a member startup list declares and at the same instant initializes such an attribute(s), that’s what I know so far. In the following code: #include <iostream> // std::cout class Foo {…
-
-1
votes1
answer332
viewsAttribute not recognized, but Namespace is added
My attribute [DataContract] is not being recognized, but the namespace System.Runtime.Serialization is added in my using. Does anyone know why? .... using System.Runtime.Serialization; using…
-
-1
votes1
answer115
viewsComparison of object attributes within a for loop
How to compare a single item of an object that has 3 spaces or more? I want to make a system that, every time the login is equal to some that is already stored in some object, appears an alert…
-
-1
votes1
answer32
viewsCase Sensitive attribute
Good afternoon, everyone! I have a class called Inventory that has the following attributes: import InventoryItem from "./InventoryItem"; import InventoryConfiguration from…
-
-1
votes2
answers31
viewsRender different Vue.JS components within a v-for directive
I wonder how I could use a v-for to render different Vue components. I’m using Internet (I say this because I don’t know if Inertia has any function that can help). Being more specific and giving an…
-
-2
votes1
answer99
viewsJavascript set attribute in script tag with variable
How to pass a variable to the script attribute, example: <script> token = "ablsicn05101dad10561" //exemplo. Esse token eu pego pela URL </script> <script type="text/javascript"…
-
-2
votes1
answer45
viewsHow do I display attributes of an object stored in an array?
I’m doing a job that consists of fictitious real estate. In this program there is a class called principal where it receives Immovel (Class) and stores the immovables in a vector, a class…
-
-2
votes2
answers54
viewsForm sent and another page display at the same html click
Hi, I have a problem adapting a form. I found similar questions on the site, but since I’m a beginner in programming, I may not have detected the answer to my specific question. I have the following…
-
-2
votes1
answer111
viewsWhat defines an attribute class in PHP 8?
I am using PHP 8 attributes, the documentation of this feature is still rudimentary, it only contains code examples and the api is not documented so I am experiencing the use of the resource. class…