mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
Markup / scss refactor WIP
- Added code comments
This commit is contained in:
parent
84fde4bd34
commit
4449994ca4
@ -81,10 +81,13 @@
|
||||
},
|
||||
methods: {
|
||||
handleInput(e) {
|
||||
// Grab input as the user types it
|
||||
// and set 'active' based on input length > 0
|
||||
this.searchInput = e.target.value;
|
||||
this.active = (this.searchInput.length > 0);
|
||||
},
|
||||
clearInput() {
|
||||
// Clear the user's input and set 'active' to false
|
||||
this.searchInput = '';
|
||||
this.active = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user