Clipboard buttons fix

fixes #2566
This commit is contained in:
softsimon
2022-09-19 18:21:31 +02:00
parent 72bed3b062
commit 7cbc87d3df
4 changed files with 19 additions and 13 deletions

View File

@@ -11,6 +11,8 @@ import * as tlite from 'tlite';
export class ClipboardComponent implements AfterViewInit {
@ViewChild('btn') btn: ElementRef;
@ViewChild('buttonWrapper') buttonWrapper: ElementRef;
@Input() button = false;
@Input() class = 'btn btn-secondary ml-1';
@Input() size: 'small' | 'normal' = 'normal';
@Input() text: string;
@Input() leftPadding = true;