next-ucap-messenger/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/chat.component.html

34 lines
747 B
HTML
Raw Normal View History

2019-10-23 06:45:48 +00:00
<div>
<mat-form-field>
<input
matInput
#inputSearch
type="text"
maxlength="20"
placeholder="대화방 이름 검색"
value=""
(keydown.enter)="onKeyDownEnter(inputSearch.value)"
/>
<button
mat-button
matSuffix
mat-icon-button
aria-label="Clear"
(click)="inputSearch.value = ''; searchWord = ''; isSearch = false"
>
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
</div>
<div>
<ucap-room-list-item
*ngFor="let room of getRoomList()"
[loginRes]="loginRes"
[roomInfo]="room"
[roomUserInfo]="getRoomUserList(room)"
[sessionVerinfo]="sessionVerinfo"
(click)="onSelectedRoom(room)"
>
</ucap-room-list-item>
</div>