Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The getBreakpoint method has no description in the swiper-class.d.ts file #4709

Closed
DAnn2012 opened this issue Jun 28, 2021 · 2 comments
Closed

Comments

@DAnn2012
Copy link
Contributor

The getBreakpoint method has no description in the swiper-class.d.ts file and the parameters must also be checked as only (breakpoints) is indicated.

In fact, in the documentation page it is reported like this:

getBreakpoint

But in the swiper-class.d.ts file there also seem to be other properties and methods without description, such as:

rtlTranslate: boolean;

isHorizontal(): boolean;
getBreakpoint(breakpoints: SwiperOptions['breakpoints']): string;
setBreakpoint(): void;
currentBreakpoint: any;
destroyed: boolean;

Thanks.

@DAnn2012
Copy link
Contributor Author

@nolimits4web Also rtlTranslate is internal?

rtlTranslate: boolean;

nolimits4web added a commit that referenced this issue Jun 28, 2021
@DAnn2012
Copy link
Contributor Author

DAnn2012 commented Jul 1, 2021

@nolimits4web after the last update the getBreakpoint method is still present in the list and !INTERNAL is indicated in the description column. Could you check it out?

getBreakpoint2

Maybe it needs to be added to this list https://github.com/nolimits4web/swiper-website/blob/9aa59898c52ddc16ac586509415e59077602fa04/build/build-api.js#L92-L107 ?

build-api-js

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant