mozilla

Compare Revisions

MutationObserver

Change Revisions

Revision 341645:

Revision 341645 by aurimas on

Revision 341647:

Revision 341647 by aurimas on

Title:
MutationObserver
MutationObserver
Slug:
DOM/MutationObserver
DOM/MutationObserver
Tags:
"NeedsContent", "Gecko DOM Reference", "DOM"
"NeedsContent", "Gecko DOM Reference", "DOM"
Content:

Revision 341645
Revision 341647
n116    <table class="standard-table">n
117      <tbody>
118        <tr>
119          <td class="header">
120            Property
121          </td>
122          <td class="header">
123            Description
124          </td>
125        </tr>
126        <tr>
127          <td>
128            <code>childList</code>
129          </td>
130          <td>
131            Set to <code>true</code> if mutations to target's chi
>ldren are to be observed. 
132          </td>
133        </tr>
134        <tr>
135          <td>
136            <code>attributes</code>
137          </td>
138          <td>
139            Set to <code>true</code> if mutations to target's att
>ributes are to be observed. 
140          </td>
141        </tr>
142        <tr>
143          <td>
144            <code>characterData</code>
145          </td>
146          <td>
147            Set to <code>true</code> if mutations to target's dat
>a are to be observed. 
148          </td>
149        </tr>
150        <tr>
151          <td>
152            <code>subtree</code>
153          </td>
154          <td>
155            Set to <code>true</code> if mutations to not just tar
>get, but also target's descendants are to be observed. 
156          </td>
157        </tr>
158        <tr>
159          <td>
160            <code>attributeOldValue</code>
161          </td>
162          <td>
163            Set to <code>true</code> if <code>attributes</code> i
>s set to <code>true</code> and target's attribute value before th 
>e mutation needs to be recorded. 
164          </td>
165        </tr>
166        <tr>
167          <td>
168            <code>characterDataOldValue</code>
169          </td>
170          <td>
171            Set to <code>true</code> if <code>characterData</code
>> is set to <code>true</code> and target's data before the mutati 
>on needs to be recorded. 
172          </td>
173        </tr>
174        <tr>
175          <td>
176            <code>attributeFilter</code>
177          </td>
178          <td>
179            Set to an array of attribute local names (without nam
>espace) if not all attribute mutations need to be observed. 
180          </td>
181        </tr>
182      </tbody>
183    </table>
184    <p>
185      &nbsp;
186    </p>
n190    <p>n
191      &nbsp;
192    </p>
tt122          <td class="header">
123            Property
196          <td></td>124          </td>
125          <td class="header">
126            Description
127          </td>
128        </tr>
129        <tr>
130          <td>
131            <code>childList</code>
132          </td>
133          <td>
134            Set to <code>true</code> if mutations to target's chi
 >ldren are to be observed.
135          </td>
136        </tr>
137        <tr>
138          <td>
139            <code>attributes</code>
140          </td>
141          <td>
142            Set to <code>true</code> if mutations to target's att
 >ributes are to be observed.
143          </td>
144        </tr>
145        <tr>
146          <td>
147            <code>characterData</code>
148          </td>
149          <td>
150            Set to <code>true</code> if mutations to target's dat
 >a are to be observed.
151          </td>
152        </tr>
153        <tr>
154          <td>
155            <code>subtree</code>
156          </td>
157          <td>
158            Set to <code>true</code> if mutations to not just tar
 >get, but also target's descendants are to be observed.
159          </td>
160        </tr>
161        <tr>
162          <td>
163            <code>attributeOldValue</code>
164          </td>
165          <td>
166            Set to <code>true</code> if <code>attributes</code> i
 >s set to <code>true</code> and target's attribute value before th
 >e mutation needs to be recorded.
167          </td>
168        </tr>
169        <tr>
170          <td>
171            <code>characterDataOldValue</code>
172          </td>
173          <td>
174            Set to <code>true</code> if <code>characterData</code
 >> is set to <code>true</code> and target's data before the mutati
 >on needs to be recorded.
175          </td>
176        </tr>
177        <tr>
178          <td>
179            <code>attributeFilter</code>
180          </td>
181          <td>
182            Set to an array of attribute local names (without nam
 >espace) if not all attribute mutations need to be observed.
183          </td>

Back to History