capacitor-docs icon indicating copy to clipboard operation
capacitor-docs copied to clipboard

Docs don't show which params are optional

Open jcesarmobile opened this issue 4 years ago • 2 comments

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.

jcesarmobile avatar Aug 30 '21 11:08 jcesarmobile

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.

dtarnawsky avatar Nov 04 '21 23:11 dtarnawsky

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

jcesarmobile avatar Nov 05 '21 01:11 jcesarmobile