Adjust Settings Popup Position
This commit is contained in:
1 parent
010771b22a
commit
898df6a318
9 files changed
+64
-19
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { Component, inject } from '@angular/core';
|
||||
import { PopupComponent } from '../../components/popup/popup';
|
||||
import { Component, inject, input } from '@angular/core';
|
||||
import { PopupComponent, PopupPosition } from '../../components/popup/popup';
|
||||
import { Dropdown, DropdownOption } from '../../components/dropdown/dropdown';
|
||||
import { Switch } from '../../components/switch/switch';
|
||||
import { NgOptimizedImage } from '@angular/common';
|
||||
@@ -15,6 +15,11 @@ import { PopupService } from '../../services/popup.service';
|
||||
export class SettingsPopup {
|
||||
private popupService = inject(PopupService);
|
||||
|
||||
/**
|
||||
* 팝업의 위치 (기본값은 'center')
|
||||
*/
|
||||
position = input<PopupPosition | 'center'>('center');
|
||||
|
||||
languages: DropdownOption[] = [
|
||||
{ label: 'English', value: 'EN' },
|
||||
{ label: '한국어', value: 'KR' },
|
||||
|
||||
Reference in new issue
Block a user