6.1.2 • Published 11 months ago

@acpaas-ui/ngx-logo v6.1.2

Weekly downloads
157
License
-
Repository
-
Last release
11 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.1.2

11 months ago

6.0.10

1 year ago

6.0.9

1 year ago

6.0.6

1 year ago

6.0.5

1 year ago

6.0.3

2 years ago

6.0.2

2 years ago

6.0.4

2 years ago

6.0.0

2 years ago

6.0.0-beta.0

2 years ago

5.0.0

4 years ago

4.6.1

4 years ago

4.6.0

5 years ago

4.0.0

5 years ago

4.0.0-rc.10

5 years ago

4.0.0-rc.9

5 years ago

4.0.0-rc.8

5 years ago

4.0.0-rc.7

5 years ago

4.0.0-rc.2

5 years ago

4.0.0-rc.6

5 years ago

4.0.0-rc.1

5 years ago