Skip to content

Show initial notice programmatically #553

@chattago2002

Description

@chattago2002

Hi.
I'm new to Klaro and I like it.

I need to open the initial (modal) notice programmatically when I need. To be more clear I mean the notice showing only the Accept button, the Decline button and the "Let me choose" button.

In the "klaroConfig" I set

noticeAsModal: true
// I tried also with false, nothing changes about my need

I tried to call the "show" function in 4 different ways but I have always the same result: modal appears but shows purposes and relative services.

klaro.show(klaroConfig, false);
// or
klaro.show(klaroConfig, true);
// or
klaro.show(undefined, false);
// or
klaro.show(undefined, true);

I read documentation but nothing can help me about this.
Can anyone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions