Skip to content

Explicit 3rd parameter doesn't override default behavior which declared in toasrConfig file #226

Open
@greybax

Description

@greybax

My toastrConfig.ts has

export function toastrConfig(toastrConfig: any): void {
 ...
  toastrConfig.positionClass = 'toast-top-right';
...
}

but for one my particular case I just want to show toastr bottom-right:

toastr.info('<input type="checkbox" checked> Success!', 'With HTML', {
  positionClass: 'toast-bottom-right';
});

but toasts still show on top right

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions