* Merge the `newSettings` given as parameters into the current element settings. * * WARNING: Using `Object.assign()` here means the merge is not recursive and only one depth is merged. * cf. http://stackoverflow.com/a/39188108/2834898 * cf. tests on http://codepen.io/AnotherLinu
(...newSettings)
| 3774 | * @private |
| 3775 | */ |
| 3776 | _mergeSettings(...newSettings) { |
| 3777 | Object.assign(this.settings, ...newSettings); |
| 3778 | } |
| 3779 | |
| 3780 | /** |
| 3781 | * Return a new object with the current element settings merged with the new settings. |
no outgoing calls
no test coverage detected