Skip to content

toggle is not working #5

@Lefthandmedia

Description

@Lefthandmedia

I cant get the toggle function to work.
first i set a few params with:

qsm('https://www.google.cz/search?q=hello+world&num=20', {
  set: {
    num: [20, 40, 60],
  }
});

then i try to remove one of the with:
qsm('https://www.google.cz/search?q=hello+world&num=20', {
toggle: {
num: 40,
}
});

then the all other params 'num' are gone.

Can it be that the function toggleParams is not returning anything? looks like it should return urlParamsNext
Im using the NPM version

RDG

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions