검색시 하이라이트
검색시 하이라이트를 주는 기능을 구현하는 코드 hightlight(value: any, type){ if (this.searchType != type) { // 검색 타입비교 return value; } if(this.searchKeyword.length>0){ let match = value.match(this.re); //this.re = 검색어 // 공백 처리 & + 처리 this.re = new RegExp(this.searchKeyword.replace(/ /gi,"").split('').join("\\s*").replace(/\+/gi,"\\\+"),'gi'); if (!match) { return value; }else{ const res = value.replace(this.re, "" +..
BackEnd/Node.js
2018. 7. 26. 09:35
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- data table component
- python3
- JPA
- 파이썬3
- Angular
- React-router
- Spring
- Redux
- react
- Python
- Router
- JSON
- https://www.tistory.com/auth/logout/
- 페이스북 로그인
- data gird component
- angular router
- localStorage
- MySQL
- JavaScript
- jQuery
- Java
- mobx
- data component module
- CSS
- facebook login
- data grid component
- 파이썬
- Spring Boot
- data component
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함