During `Route#setup` observers are created to invoke this method when any of the query params declared in `Controller#queryParams` property are changed. When invoked this method uses the currently active query param update delegate (see `Controller.prototype._qpDelegate` for details) an
(controller: any, _prop: string)
| 295 | @private |
| 296 | */ |
| 297 | _qpChanged(controller: any, _prop: string) { |
| 298 | let dotIndex = _prop.indexOf('.[]'); |
| 299 | let prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex); |
| 300 | |
| 301 | let delegate = controller._qpDelegate; |
| 302 | let value = get(controller, prop); |
| 303 | delegate(prop, value); |
| 304 | }, |
| 305 | }); |
| 306 | |
| 307 | // NOTE: This doesn't actually extend EmberObject. |