"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/list/selection-list.ts" between
material2-7.3.3.tar.gz and material2-7.3.4.tar.gz

About: material2 offers Material Design components for Angular.

selection-list.ts  (material2-7.3.3):selection-list.ts  (material2-7.3.4)
skipping to change at line 417 skipping to change at line 417
this._setAllOptionsSelected(true); this._setAllOptionsSelected(true);
} }
/** Deselects all of the options. */ /** Deselects all of the options. */
deselectAll() { deselectAll() {
this._setAllOptionsSelected(false); this._setAllOptionsSelected(false);
} }
/** Sets the focused option of the selection-list. */ /** Sets the focused option of the selection-list. */
_setFocusedOption(option: MatListOption) { _setFocusedOption(option: MatListOption) {
this._keyManager.updateActiveItemIndex(this._getOptionIndex(option)); this._keyManager.updateActiveItem(option);
} }
/** /**
* Removes an option from the selection list and updates the active item. * Removes an option from the selection list and updates the active item.
* @returns Currently-active item. * @returns Currently-active item.
*/ */
_removeOptionFromList(option: MatListOption): MatListOption | null { _removeOptionFromList(option: MatListOption): MatListOption | null {
const optionIndex = this._getOptionIndex(option); const optionIndex = this._getOptionIndex(option);
if (optionIndex > -1 && this._keyManager.activeItemIndex === optionIndex) { if (optionIndex > -1 && this._keyManager.activeItemIndex === optionIndex) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)