Mohsen Fallahnejadfiltered list for live searchsometimes we need to sort a list of different items (names or ….) Specifically and displayed to us. For example, suppose we have a list of…May 12, 2020May 12, 2020
Mohsen FallahnejadCustomize .sort() method in JSSort method by default sorts elements alphabetically:Apr 19, 2020Apr 19, 2020
Mohsen FallahnejadCOPY to clipboard in JSFor set a textContent to clipboard , you should get the desired element from DOM (eg. document.getElementById(“element-id”) ) and access…Apr 8, 2020Apr 8, 2020
Mohsen FallahnejadUsing function in v-modelwe can use :value instead of v-modelApr 4, 2020Apr 4, 2020
Mohsen FallahnejadState Switching..!Sometimes, when we are writing the logical commands of a part of the main program, we need to change the situation between the two types…Mar 16, 2020Mar 16, 2020
Mohsen FallahnejadHow to generate an ID for Array sequentially ?!This helps create consistent, trouble-free and automated, sequential IDsMar 15, 2020Mar 15, 2020