]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-forms/input-toggle-hidden.component.html
1 <div class=
"input-group input-group-sm">
2 <input [id]=
"id" [autocomplete]=
"autocomplete" [value]=
"value" [placeholder]=
"placeholder" [(ngModel)]=
"value" (ngModelChange)=
"update()" [ngClass]=
"{ 'readonly': readonly }" [readonly]=
"readonly"
3 #input (click)=
"input.select()" (input)=
"update()" (change)=
"update()" [type]=
"inputType" class=
"form-control" />
5 <div *
ngIf=
"withToggle || withCopy" class=
"input-group-append">
6 <button *
ngIf=
"withToggle" (click)=
"toggle()" type=
"button" class=
"btn btn-outline-secondary" [title]=
"toggleTitle">
7 <span class=
"glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span>
9 <button *
ngIf=
"withCopy" [cdkCopyToClipboard]=
"input.value" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary" i18n-title
title=
"Copy">
10 <span class=
"glyphicon glyphicon-copy"></span>