UNPKG

@rxap/ngx-changelog

Version:

This package provides Angular components and services to display changelogs within an application. It fetches changelog data from a remote source and presents it in a user-friendly dialog or component, allowing users to view updates and changes. The packa

106 lines (55 loc) 3.79 kB
[@rxap/ngx-changelog](../wiki/globals) / ChangelogComponent # Class: ChangelogComponent Defined in: [changelog/src/lib/changelog/changelog.component.ts:31](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L31) ## Implements - `OnInit` ## Constructors ### new ChangelogComponent() > **new ChangelogComponent**(): [`ChangelogComponent`](../wiki/Class.ChangelogComponent) #### Returns [`ChangelogComponent`](../wiki/Class.ChangelogComponent) ## Properties ### activeIndex > `readonly` **activeIndex**: `WritableSignal`\<`number`\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:35](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L35) *** ### application > `readonly` **application**: `string` Defined in: [changelog/src/lib/changelog/changelog.component.ts:70](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L70) *** ### availableVersions > `readonly` **availableVersions**: `WritableSignal`\<`string`[]\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:33](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L33) *** ### displayedButtons > `readonly` **displayedButtons**: `Signal`\<`object`[]\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:45](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L45) *** ### error > `readonly` **error**: `WritableSignal`\<`null` \| `string`\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:34](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L34) *** ### getChangelogMethod > `readonly` **getChangelogMethod**: [`ChangelogControllerGetVersionRemoteMethod`](../wiki/Class.ChangelogControllerGetVersionRemoteMethod) Defined in: [changelog/src/lib/changelog/changelog.component.ts:72](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L72) *** ### getChangelogMethodParameters > `readonly` **getChangelogMethodParameters**: `Signal`\<\{ `parameters`: \{ `application`: `string`; `version`: `string`; \}; \}\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:74](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L74) *** ### selectedVersion > `readonly` **selectedVersion**: `Signal`\<`string`\> Defined in: [changelog/src/lib/changelog/changelog.component.ts:36](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L36) ## Methods ### ngOnInit() > **ngOnInit**(): `void` Defined in: [changelog/src/lib/changelog/changelog.component.ts:83](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/changelog/src/lib/changelog/changelog.component.ts#L83) A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. #### Returns `void` #### Implementation of `OnInit.ngOnInit`