@@ -3013,41 +3013,42 @@ class MutationObserver(callback: js.Function2[js.Array[MutationRecord], Mutation
3013
3013
* attributes, or characterDatamust be set to true. Otherwise, "An invalid or illegal string was specified" error is
3014
3014
* thrown.
3015
3015
*/
3016
- @ js.native
3017
3016
trait MutationObserverInit extends js.Object {
3018
3017
3019
3018
/** Set to true if additions and removals of the target node's child elements (including text nodes) are to be
3020
3019
* observed.
3021
3020
*/
3022
- var childList : js.UndefOr [Boolean ] = js.native
3021
+ var childList : js.UndefOr [Boolean ] = js.undefined
3023
3022
3024
3023
/** Set to true if mutations to target's attributes are to be observed. */
3025
- var attributes : js.UndefOr [Boolean ] = js.native
3024
+ var attributes : js.UndefOr [Boolean ] = js.undefined
3026
3025
3027
3026
/** Set to true if mutations to target's data are to be observed. */
3028
- var characterData : js.UndefOr [Boolean ] = js.native
3027
+ var characterData : js.UndefOr [Boolean ] = js.undefined
3029
3028
3030
3029
/** Set to true if mutations to not just target, but also target's descendants are to be observed. */
3031
- var subtree : js.UndefOr [Boolean ] = js.native
3030
+ var subtree : js.UndefOr [Boolean ] = js.undefined
3032
3031
3033
3032
/** Set to true if attributes is set to true and target's attribute value before the mutation needs to be recorded. */
3034
- var attributeOldValue : js.UndefOr [Boolean ] = js.native
3033
+ var attributeOldValue : js.UndefOr [Boolean ] = js.undefined
3035
3034
3036
3035
/** Set to true if characterData is set to true and target's data before the mutation needs to be recorded. */
3037
- var characterDataOldValue : js.UndefOr [Boolean ] = js.native
3036
+ var characterDataOldValue : js.UndefOr [Boolean ] = js.undefined
3038
3037
3039
3038
/** Set to an array of attribute local names (without namespace) if not all attribute mutations need to be observed.
3040
3039
*/
3041
- var attributeFilter : js.UndefOr [js.Array [String ]] = js.native
3040
+ var attributeFilter : js.UndefOr [js.Array [String ]] = js.undefined
3042
3041
}
3043
3042
3044
3043
/** Factory for [[MutationObserverInit ]] objects. */
3044
+ @ deprecated(" all members of MutationObserverInit are deprecated" , " 2.0.0" )
3045
3045
object MutationObserverInit {
3046
3046
3047
3047
/** Creates a new [[MutationObserverInit ]] object with the given values. Default values for the `Boolean` parameters
3048
3048
* are `false`. If the value of `attributeFilter` is `js.undefined`, created object won't have `attributeFilter`
3049
3049
* property.
3050
3050
*/
3051
+ @ deprecated(" use `new MutationObserverInit { ... }` instead" , " 2.0.0" )
3051
3052
def apply (
3052
3053
childList : Boolean = false , attributes : Boolean = false , characterData : Boolean = false , subtree : Boolean = false ,
3053
3054
attributeOldValue : Boolean = false , characterDataOldValue : Boolean = false ,
@@ -4877,15 +4878,16 @@ object FileReader extends js.Object {
4877
4878
val DONE : Short = js.native
4878
4879
}
4879
4880
4880
- @ js.native
4881
4881
trait BlobPropertyBag extends js.Object {
4882
- def `type` : String = js.native
4882
+ var `type` : js. UndefOr [ String ] = js.undefined
4883
4883
4884
- def endings : String = js.native
4884
+ var endings : js. UndefOr [ String ] = js.undefined
4885
4885
}
4886
4886
4887
+ @ deprecated(" all members of BlobPropertyBag are deprecated" , " 2.0.0" )
4887
4888
object BlobPropertyBag {
4888
4889
4890
+ @ deprecated(" use `new BlobPropertyBag { ... }` instead" , " 2.0.0" )
4889
4891
@ inline
4890
4892
def apply (`type` : js.UndefOr [String ] = js.undefined): BlobPropertyBag = {
4891
4893
val result = js.Dynamic .literal()
0 commit comments