6.0.10 • Published 2 months ago

@acpaas-ui/ngx-logo v6.0.10

Weekly downloads
157
License
-
Repository
-
Last release
2 months ago

@acpaas-ui/ngx-logo

This module displays an image wrapped in a link.

Usage

import { LogoModule } from '@acpaas-ui/ngx-logo';

Documentation

Visit our documentation site for full how-to docs and guidelines

Logo module

API

NameDefault valueDescription
@Input() title: string;'Placeholder'Used for alt and title attributes on img and a tags.
@Input() src: string;'https://place-hold.it/192x192'Path to image.
@Input() link: string;'/'URL address to go to when the logo is clicked.
@Input() onClick: Function;-Function to execute when clicked on the logo. Note that this will not automatically override the link behaviour.

Example

import { LogoModule } from '@acpaas-ui/ngx-logo';

@NgModule({
    imports: [
        LogoModule
    ]
});

export class AppModule {};
public imgTitle = 'Title for logo';
public imgSrc = 'https://robohash.org/antwerp-ui';
public imgLink = '#';

public imgClicked(event) {
    alert('Logo was clicked');
}
<aui-logo [src]="imgSrc" [title]="imgTitle" [link]="imgLink" [onClick]="imgClicked"></aui-logo>

Contributing

Visit our Contribution Guidelines for more information on how to contribute.

6.0.10

2 months ago

6.0.9

2 months ago

6.0.6

4 months ago

6.0.5

4 months ago

6.0.3

9 months ago

6.0.2

9 months ago

6.0.4

8 months ago

6.0.0

11 months ago

6.0.0-beta.0

1 year ago

5.0.0

3 years ago

4.6.1

3 years ago

4.6.0

3 years ago

4.0.0

4 years ago

4.0.0-rc.10

4 years ago

4.0.0-rc.9

4 years ago

4.0.0-rc.8

4 years ago

4.0.0-rc.7

4 years ago

4.0.0-rc.2

4 years ago

4.0.0-rc.6

4 years ago

4.0.0-rc.1

4 years ago