src/app/components/settings-sharer/settings-sharer.component.ts
Settings sharer component
selector | app-settings-sharer |
styleUrls | ./settings-sharer.component.scss |
templateUrl | ./settings-sharer.component.html |
Properties |
|
Methods |
|
Accessors |
constructor(inputService: InputService, uiService: UiService, sanitizerService: SanitizerService, persistenceService: PersistenceService)
|
||||||||||||||||||||
Constructs the settings sharer component. ~constructor
Parameters :
|
Public onUploadClicked | ||||||||
onUploadClicked(event: MouseEvent)
|
||||||||
Upload clicked handler.
Parameters :
Returns :
void
|
Public onUploadSettingsChanged | ||||||||
onUploadSettingsChanged(event: Event)
|
||||||||
Upload settings changed event handler.
Parameters :
Returns :
void
|
Public uploadSettings | ||||||||
uploadSettings(selectedFile: File)
|
||||||||
Upload settings.
Parameters :
Returns :
void
|
Optional clickableDownloadSettings |
Type : ElementRef<HTMLAnchorElement>
|
Decorators :
@ViewChild('clickableDownloadSettings')
|
The download settings clickable element. |
Optional clickableUploadSettings |
Type : ElementRef<HTMLAnchorElement>
|
Decorators :
@ViewChild('clickableUploadSettings')
|
The upload settings clickable element. |
Optional inputGroupUploadSettings |
Type : ElementRef<HTMLInputElement>
|
Decorators :
@ViewChild('inputGroupUploadSettings')
|
The upload settings hidden input element. |
Public inputService |
Type : InputService
|
The input service injected dependency.
|
Public persistenceService |
Type : PersistenceService
|
The persistence service injected dependency.
|
Public uiService |
Type : UiService
|
The ui service injected dependency.
|
Optional uploadSettingsLabel |
Type : ElementRef<HTMLLabelElement>
|
Decorators :
@ViewChild('uploadSettingsLabel')
|
The upload settings label element. |
defaultSettingsFileName |
getdefaultSettingsFileName()
|
The default settings file name. |
defaultSettingsFileExtension |
getdefaultSettingsFileExtension()
|
The default settings file extension. |
settings |
getsettings()
|
Loads the settings. |
./settings-sharer.component.scss
@use "../stylesheets/stylesheets.component.scss";