{"json_modified": "2016-10-06T03:18:43.214527", "uuid": "aa3cb346-1032-49b6-926b-b199d7403493", "title": "Attr", "url": "/en-US/docs/Web/API/Attr", "tags": ["API", "DOM", "NeedsBrowserCompatibility"], "translations": [{"uuid": "6c24c2c9-75c8-4469-9680-f0febabab0c8", "title": "Attr", "url": "/es/docs/Web/API/Attr", "tags": [], "summary": "Este tipo representa un atributo de un elemento DOM como un objeto. En muchos m\u00e9todos DOM, probablemente vas a obtener el atributo como una cadena (e.g., Element.getAttribute()
, but certain functions (e.g., Element.getAttributeNode()
) or means of iterating give Attr
types.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-08-18T08:21:59", "review_tags": []}, {"uuid": "1c2b7f92-8bf4-4ca4-af32-5a294c28563a", "title": "Attr", "url": "/fr/docs/Web/API/Attr", "tags": ["NeedsContent", "Attribut", "DOM", "NeedsMarkupWork"], "summary": "Ce type repr\u00e9sente un attribut d'un \u00e9l\u00e9ment DOM comme un objet. Dans la plupart des m\u00e9thodes DOM, vous auriez probablement r\u00e9cup\u00e9r\u00e9 l'attribut directement\u00a0comme une cha\u00eene (par exemple, element.getAttribute()
, mais certaines fonctions (par exemple, element.getAttributeNode()
) ou des moyens d'it\u00e9ration donnent des types Attr.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-26T10:43:33", "review_tags": []}, {"uuid": "88d12ec8-6446-454f-8428-ffc6e609b004", "title": "Attr", "url": "/ja/docs/Web/API/Attr", "tags": ["API", "DOM"], "summary": "\u3053\u306e\u578b\u306f\u3001DOM \u8981\u7d20\u306e\u5c5e\u6027\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u63d0\u4f9b\u3057\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u306e DOM \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u3053\u306e\u5c5e\u6027\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u76f4\u63a5\u53d6\u5f97\u3059\u308b\u3067\u3057\u3087\u3046 (\u4f8b: Element.getAttribute()
)\u3002\u3057\u304b\u3057\u3001\u7279\u5b9a\u306e\u95a2\u6570 (\u4f8b: Element.getAttributeNode()
) \u3084\u30a4\u30c6\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u3059\u3082\u306e\u306b\u306f Attr \u578b\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-06-03T06:32:04", "review_tags": []}, {"uuid": "865f099e-06e8-4324-bd23-3728739e9a29", "title": "Attr", "url": "/pt-BR/docs/Web/API/Attr", "tags": ["Gecko DOM", "API", "DOM", "JavaScript"], "summary": "As seguintes propriedades e m\u00e9todos foram reprovados. Quando dispon\u00edveis, s\u00e3o substituidas adequadamente.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-02-23T15:48:58", "review_tags": []}, {"uuid": "6fb4a7d3-c973-40e2-b11a-077048a8a3db", "title": "Attr", "url": "/zh-CN/docs/Web/API/Attr", "tags": [], "summary": "\u8be5\u7c7b\u578b\u5c06DOM\u5143\u7d20\u7684\u5c5e\u6027\u4f5c\u4e3a\u4e00\u4e2a\u5bf9\u8c61\uff0c\u5728\u5927\u591a\u6570DOM\u65b9\u6cd5\u4e2d\uff0c\u4f60\u53ef\u80fd\u76f4\u63a5\u628a\u5c5e\u6027\u4f5c\u4e3a\u5b57\u7b26\u4e32\u53d6\u51fa\uff08\u4f8b\u5982Element.getAttribute()
\uff09\u3002\u4f46\u662f\u4e00\u4e9b\u51fd\u6570\uff08\u4f8b\u5982Element.getAttributeNode()
\uff09\u6216\u8fed\u4ee3\u7684\u529f\u80fd\u4f1a\u518d\u6b21\u8fd4\u56deAttr\u7c7b\u578b\u3002
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-29T19:18:51", "review_tags": ["technical", "editorial"]}, {"uuid": "768d05cf-fdfc-4155-b62e-2f5c90f3031e", "title": "Attr", "url": "/zh-TW/docs/Web/API/Attr", "tags": [], "summary": "DOM \u5143\u7d20\u7684\u5c6c\u6027\uff08attribute\uff09\u6703\u88ab\u8996\u4f5c\u70ba\u00a0Attr
\u4ecb\u9762\u7684\u7269\u4ef6\uff08\u5c6c\u6027\u7bc0\u9ede\uff09\u3002\u5728\u5927\u90e8\u5206\u7684\u00a0DOM \u65b9\u6cd5\u4e2d\uff0c\u53ef\u80fd\u662f\u76f4\u63a5\u4ee5\u5b57\u4e32\u578b\u5f0f\u53d6\u5f97\u5c6c\u6027\uff08\u5982 Element.getAttribute()
\uff09\u3002\u4f46\u5728\u67d0\u4e9b\u65b9\u6cd5\uff08\u5982 Element.getAttributeNode()
\uff09\uff0c\u6216\u65bc\u8fed\u4ee3\u4e2d\u5247\u6703\u662f\u56de\u50b3 Attr
\u578b\u5225\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-06-29T23:55:15", "review_tags": []}], "modified": "2016-10-06T03:18:42", "label": "Attr", "localization_tags": [], "locale": "en-US", "id": 5888, "last_edit": "2016-10-06T03:18:31", "summary": "This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute()
, but certain functions (e.g., Element.getAttributeNode()
) or means of iterating give Attr
types.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Properties", "title": "Properties"}, {"id": "Deprecated_properties_and_methods", "title": "Deprecated properties and methods"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/API/Attr", "review_tags": []}