* @todo v4, rename to getSharedOptions and remove excess functions
(start, mode)
| 883 | * @todo v4, rename to getSharedOptions and remove excess functions |
| 884 | */ |
| 885 | _getSharedOptions(start, mode) { |
| 886 | const firstOpts = this.resolveDataElementOptions(start, mode); |
| 887 | const previouslySharedOptions = this._sharedOptions; |
| 888 | const sharedOptions = this.getSharedOptions(firstOpts); |
| 889 | const includeOptions = this.includeOptions(mode, sharedOptions) || (sharedOptions !== previouslySharedOptions); |
| 890 | this.updateSharedOptions(sharedOptions, mode, firstOpts); |
| 891 | return {sharedOptions, includeOptions}; |
| 892 | } |
| 893 | |
| 894 | /** |
| 895 | * Utility for updating an element with new properties, using animations when appropriate. |
no test coverage detected