aboutsummaryrefslogtreecommitdiff
path: root/files/vi/web/api/childnode
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/vi/web/api/childnode
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/vi/web/api/childnode')
-rw-r--r--files/vi/web/api/childnode/index.html78
-rw-r--r--files/vi/web/api/childnode/remove/index.html97
2 files changed, 0 insertions, 175 deletions
diff --git a/files/vi/web/api/childnode/index.html b/files/vi/web/api/childnode/index.html
deleted file mode 100644
index ff71a15d51..0000000000
--- a/files/vi/web/api/childnode/index.html
+++ /dev/null
@@ -1,78 +0,0 @@
----
-title: ChildNode
-slug: Web/API/ChildNode
-tags:
- - API
- - DOM
- - Experimental
- - Interface
- - NeedsTranslation
- - Node
- - TopicStub
-translation_of: Web/API/ChildNode
----
-<div>{{APIRef("DOM")}}</div>
-
-<p>The <code><strong>ChildNode</strong></code> interface contains methods that are particular to {{domxref("Node")}} objects that can have a parent.</p>
-
-<p><code>ChildNode</code> is a raw interface and no object of this type can be created; it is implemented by {{domxref("Element")}}, {{domxref("DocumentType")}}, and {{domxref("CharacterData")}} objects.</p>
-
-<h2 id="Properties">Properties</h2>
-
-<p><em>There are neither inherited, nor specific properties.</em></p>
-
-<h2 id="Methods">Methods</h2>
-
-<p><em>There are no inherited methods.</em></p>
-
-<dl>
- <dt>{{domxref("ChildNode.remove()")}} {{experimental_inline}}</dt>
- <dd>Removes this <code>ChildNode</code> from the children list of its parent.</dd>
- <dt>{{domxref("ChildNode.before()")}} {{experimental_inline}}</dt>
- <dd>Inserts a set of {{domxref("Node")}} or {{domxref("DOMString")}} objects in the children list of this <code>ChildNode</code>'s parent, just before this <code>ChildNode</code>. {{domxref("DOMString")}} objects are inserted as equivalent {{domxref("Text")}} nodes.</dd>
- <dt>{{domxref("ChildNode.after()")}} {{experimental_inline}}</dt>
- <dd>Inserts a set of {{domxref("Node")}} or {{domxref("DOMString")}} objects in the children list of this <code>ChildNode</code>'s parent, just after this <code>ChildNode</code>. {{domxref("DOMString")}} objects are inserted as equivalent {{domxref("Text")}} nodes.</dd>
- <dt>{{domxref("ChildNode.replaceWith()")}} {{experimental_inline}}</dt>
- <dd>Replaces this <code>ChildNode</code> in the children list of its parent with a set of {{domxref("Node")}} or {{domxref("DOMString")}} objects. {{domxref("DOMString")}} objects are inserted as equivalent {{domxref("Text")}} nodes.</dd>
-</dl>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('DOM WHATWG', '#interface-childnode', 'ChildNode')}}</td>
- <td>{{Spec2('DOM WHATWG')}}</td>
- <td>Split the <code>ElementTraversal</code> interface in {{domxref("ParentNode")}} and <code>ChildNode</code>. <code>previousElementSibling</code> and <code>nextElementSibling</code> are now defined on the latter. The {{domxref("CharacterData")}} and {{domxref("DocumentType")}} implemented the new interfaces. Added the <code>remove()</code>, <code>before()</code>, <code>after()</code> and <code>replaceWith()</code> methods.</td>
- </tr>
- <tr>
- <td>{{SpecName('Element Traversal', '#interface-elementTraversal', 'ElementTraversal')}}</td>
- <td>{{Spec2('Element Traversal')}}</td>
- <td>Added the initial definition of its properties to the <code>ElementTraversal</code> pure interface and use it on {{domxref("Element")}}.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Polyfill">Polyfill</h2>
-
-<p>External on github: <a href="https://github.com/seznam/JAK/blob/master/lib/polyfills/childNode.js">childNode.js</a></p>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("api.ChildNode")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>The {{domxref("ParentNode")}} pure interface.</li>
- <li>
- <div class="syntaxbox">Object types implementing this pure interface: {{domxref("CharacterData")}}, {{domxref("Element")}}, and {{domxref("DocumentType")}}.</div>
- </li>
-</ul>
diff --git a/files/vi/web/api/childnode/remove/index.html b/files/vi/web/api/childnode/remove/index.html
deleted file mode 100644
index 3c0fde3e18..0000000000
--- a/files/vi/web/api/childnode/remove/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-title: ChildNode.remove()
-slug: Web/API/ChildNode/remove
-tags:
- - API
- - ChildNode
- - DOM
- - Phương Thức
- - Đang thử nghiệm
-translation_of: Web/API/ChildNode/remove
----
-<div>{{APIRef("DOM")}}</div>
-
-<p>Phương thức <code><strong>ChildNode.remove()</strong></code> dùng để loại bỏ chính đối tượng gọi nó ra khỏi cây cấu trúc.</p>
-
-<h2 id="Cú_pháp">Cú pháp</h2>
-
-<pre class="syntaxbox"><em>node</em>.remove();
-</pre>
-
-<h2 id="Ví_dụ">Ví dụ</h2>
-
-<h3 id="Cách_dùng_remove()">Cách dùng <code>remove()</code></h3>
-
-<pre class="brush: html">&lt;div id="div-01"&gt;Đây là div-01&lt;/div&gt;
-&lt;div id="div-02"&gt;Đây là div-02&lt;/div&gt;
-&lt;div id="div-03"&gt;Đây là div-03&lt;/div&gt;
-</pre>
-
-<pre class="brush: js">var el = document.getElementById('div-02');
-el.remove(); // Gỡ bỏ div có id là 'div-02'
-</pre>
-
-<h3 id="ChildNode.remove()_is_unscopable"><code>ChildNode.remove()</code> is unscopable</h3>
-
-<p>The <code>remove()</code> method is not scoped into the <code>with</code> statement. See {{jsxref("Symbol.unscopables")}} for more information.</p>
-
-<pre class="brush: js">with(node) {
- remove();
-}
-// ReferenceError: remove is not defined </pre>
-
-<h2 id="Giải_pháp_thay_thế">Giải pháp thay thế</h2>
-
-<p>Ta có thể thay thế phương thức <code>remove()</code> bằng đoạn mã sau để chạy trên Internet Explorer 9 và những đời sau này:</p>
-
-<pre class="brush: js">// Nguồn: https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md
-(function (arr) {
- arr.forEach(function (item) {
- if (item.hasOwnProperty('remove')) {
- return;
- }
- Object.defineProperty(item, 'remove', {
- configurable: true,
- enumerable: true,
- writable: true,
- value: function remove() {
- if (this.parentNode !== null)
- this.parentNode.removeChild(this);
- }
- });
- });
-})([Element.prototype, CharacterData.prototype, DocumentType.prototype]);</pre>
-
-<h2 id="Thông_số_kỹ_thuật">Thông số kỹ thuật</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Thông số kỹ thuật</th>
- <th scope="col">Trạng thái</th>
- <th scope="col">Chú thích</th>
- </tr>
- <tr>
- <td>{{SpecName('DOM WHATWG', '#dom-childnode-remove', 'ChildNode.remove')}}</td>
- <td>{{Spec2('DOM WHATWG')}}</td>
- <td>Lần đầu được định nghĩa.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Tính_tương_thích_trên_trình_duyệt">Tính tương thích trên trình duyệt</h2>
-
-<div>
-
-
-<p>{{Compat("api.ChildNode.remove")}}</p>
-</div>
-
-<h2 id="Xem_thêm">Xem thêm</h2>
-
-<ul>
- <li>The {{domxref("ChildNode")}} pure interface.</li>
- <li>
- <div class="syntaxbox">Object types implementing this pure interface: {{domxref("CharacterData")}}, {{domxref("Element")}}, and {{domxref("DocumentType")}}.</div>
- </li>
-</ul>