src/app/app.component.ts
The main application component.
BaseApplicationComponent
OnDestroy
OnInit
| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | ccf-root |
| templateUrl | ./app.component.html |
| styleUrl | ./app.component.scss |
Properties |
|
Methods |
constructor()
|
|
Defined in src/app/app.component.ts:97
|
|
Creates an instance of app component. |
| handleClick | ||||||||
handleClick(target: EventTarget | null)
|
||||||||
|
Defined in src/app/app.component.ts:145
|
||||||||
|
Disables block position change if an input element is clicked
Parameters :
Returns :
void
|
| registrationToggle | ||||||||
registrationToggle(event: boolean)
|
||||||||
|
Defined in src/app/app.component.ts:134
|
||||||||
|
Toggles the registration expansion state.
Parameters :
Returns :
void
|
| resetBlock |
resetBlock()
|
|
Defined in src/app/app.component.ts:216
|
|
Resets the block position to the default state.
Returns :
void
|
| resetCamera |
resetCamera()
|
|
Defined in src/app/app.component.ts:197
|
|
Resets the camera to the default view.
Returns :
void
|
| resetMetadata |
resetMetadata()
|
|
Defined in src/app/app.component.ts:205
|
|
Resets the metadata to the default state.
Returns :
void
|
| resetStage |
resetStage()
|
|
Defined in src/app/app.component.ts:189
|
|
Resets the stage to its initial state.
Returns :
void
|
| updateSide | ||||||||
updateSide(selection: Side)
|
||||||||
|
Defined in src/app/app.component.ts:171
|
||||||||
|
Updates the side view.
Parameters :
Returns :
void
|
| updateView | ||||||
updateView(type: ViewType)
|
||||||
|
Defined in src/app/app.component.ts:182
|
||||||
|
Handles updating of the boolean that keeps track of current view and calling the event emitter.
Parameters :
Returns :
void
|
| Protected Readonly disableOrganAxis |
Type : unknown
|
Default value : toSignal(this.model.disableOrganAxis$, { initialValue: false })
|
|
Defined in src/app/app.component.ts:94
|
|
Whether the organ axis is hidden |
| disablePositionChange |
Type : unknown
|
Default value : false
|
|
Defined in src/app/app.component.ts:70
|
|
Disables changes in block position |
| Protected Readonly embedded |
Type : unknown
|
Default value : toSignal(this.page.useCancelRegistrationCallback$)
|
|
Defined in src/app/app.component.ts:85
|
|
Whether to use the embedded app |
| Readonly homeUrl$ |
Type : unknown
|
Default value : this.globalConfig.getOption('homeUrl')
|
|
Defined in src/app/app.component.ts:76
|
|
Preset homeurl |
| Readonly metadata |
Type : unknown
|
Default value : inject(MetadataService)
|
|
Defined in src/app/app.component.ts:62
|
|
Metadata service |
| Readonly model |
Type : unknown
|
Default value : inject(ModelState)
|
|
Defined in src/app/app.component.ts:54
|
|
Model state |
| Readonly page |
Type : unknown
|
Default value : inject(PageState)
|
|
Defined in src/app/app.component.ts:56
|
|
Page state |
| Readonly registration |
Type : unknown
|
Default value : inject(RegistrationState)
|
|
Defined in src/app/app.component.ts:58
|
|
Registration state |
| registrationExpanded |
Type : unknown
|
Default value : false
|
|
Defined in src/app/app.component.ts:73
|
|
Indicates whether the registration is expanded. |
| registrationStarted |
Type : unknown
|
Default value : false
|
|
Defined in src/app/app.component.ts:67
|
|
False until the initial registration modal is closed |
| Readonly snackbar |
Type : unknown
|
Default value : inject(MatSnackBar)
|
|
Defined in src/app/app.component.ts:60
|
|
Snackbar service |
| Readonly view$ |
Type : unknown
|
Default value : this.globalConfig.getOption('view')
|
|
Defined in src/app/app.component.ts:79
|
|
Preset view setting |
| Protected Readonly viewSide |
Type : unknown
|
Default value : toSignal(this.model.viewSide$)
|
|
Defined in src/app/app.component.ts:88
|
|
The current view side |
| Readonly viewSide$ |
Type : unknown
|
Default value : this.globalConfig.getOption('viewSide')
|
|
Defined in src/app/app.component.ts:82
|
|
Preset view side |
| Protected Readonly viewType |
Type : unknown
|
Default value : toSignal(this.model.viewType$, { initialValue: 'register' })
|
|
Defined in src/app/app.component.ts:91
|
|
The current view type, either 'register' or 'preview', default is register |