Top "Attributes" questions

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

Passing array via attribute to AngularJS directive

I'm currently having a problem when passing an array to a directive via an attribute of that directive. I can …

arrays parsing angularjs attributes directive
Get an object properties list in Objective-C

How can I get a list (in the form of an NSArray or NSDictionary) of a given object properties in …

objective-c class properties attributes introspection
Check if list of objects contain an object with a certain attribute value

I want to check if my list of objects contain an object with a certain attribute value. class Test: def __…

python list attributes any
What is the difference between class and instance attributes?

Is there any meaningful distinction between: class A(object): foo = 5 # some default value vs. class B(object): def __init__(self, …

python attributes member-variables
Storing and Accessing node attributes python networkx

I have a network of nodes created using python networkx. i want to store information in nodes such that i …

python attributes networkx
Can a C# class inherit attributes from its interface?

This would appear to imply "no". Which is unfortunate. [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class, AllowMultiple = true, Inherited = true)] public class …

c# attributes
XSD element with both attributes and child elements

I want to know the correct syntax for defining an element containing both attributes and child elements (if possible). For …

attributes xsd
Rails: Update model attribute without invoking callbacks

I have a User model that has a :credits attribute. I want a simple button that will add 5 to the …

ruby-on-rails ruby model attributes callback
How can i select 'title' attribute in an input tag in jquery?

Just like we have selectors like ("#id_name"),(".class_name") (":input_type")..etc in jquery, how can i select title …

jquery attributes css-selectors title
Safari <input type="file" accept="video/*"> ignores mp4 files

I am using an HTML file input like this: <input type="file" accept="video/*"> to allow my users …

video file-io safari attributes mp4