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

Docs don't show which params are optional #47

Open
jcesarmobile opened this issue Aug 30, 2021 · 2 comments
Open

Docs don't show which params are optional #47

jcesarmobile opened this issue Aug 30, 2021 · 2 comments

Comments

@jcesarmobile
Copy link
Member

If the type has a ?, it's not displayed, so it's not possible to know which params are optional and which ones are mandatory.

Docs should show the ? or some text that specify which one is optional and which one is mandatory.

@dtarnawsky
Copy link
Contributor

The point of the PR is that if you omit the parameter then no sound is emitted. If you use '' then the default sound is emitted and if you use a value you can customize the sound.

@jcesarmobile
Copy link
Member Author

Then it looks like a bug. It’s not the intended behavior.

@jcesarmobile jcesarmobile transferred this issue from ionic-team/capacitor-site Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants