* Return a new object with the current element settings merged with the new settings. * * @param {object} newSettings * @returns {object} * @private
(...newSettings)
| 3785 | * @private |
| 3786 | */ |
| 3787 | _cloneAndMergeSettings(...newSettings) { |
| 3788 | const result = {}; |
| 3789 | Object.assign(result, this.settings, ...newSettings); |
| 3790 | |
| 3791 | return result; |
| 3792 | } |
| 3793 | |
| 3794 | /** |
| 3795 | * Validate the given option object. |
no outgoing calls
no test coverage detected