Fix Popup Style

This commit is contained in:
copecone committed 2026-03-31 03:17:43 +09:00
1 parent 9e6a846bfa
commit c3f24f5e6d
8 files changed
+31 -11

No files matched your search

+7
View File
@@ -7,6 +7,8 @@ export type PopupPosition = {
bottom?: string;
};
export type PopupVariant = 'glass' | 'solid';
@Component({
selector: 'app-popup',
standalone: true,
@@ -20,6 +22,11 @@ export class PopupComponent {
*/
position = input<PopupPosition | 'center'>('center');
/**
* 팝업의 스타일 변형 (기본값은 'glass')
*/
variant = input<PopupVariant>('glass');
/**
* 팝업 닫기 요청 (배경 클릭 또는 닫기 버튼)
*/