* Updates glide with specified settings. * * @param {Object} settings * @return {Glide}
(settings = {})
| 67 | * @return {Glide} |
| 68 | */ |
| 69 | update (settings = {}) { |
| 70 | this.settings = mergeOptions(this.settings, settings) |
| 71 | |
| 72 | if (settings.hasOwnProperty('startAt')) { |
| 73 | this.index = settings.startAt |
| 74 | } |
| 75 | |
| 76 | this._e.emit('update') |
| 77 | |
| 78 | return this |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Change slide with specified pattern. A pattern must be in the special format: |
no test coverage detected