Closed jrobinson01 closed 4 years ago
imho every public property or function should be of interest as that is the public api right?
you can prefix a function with _
so the become "protected" and will not appear in the public properties list as far as I know.
you could also use the js "#myPrivateFunction"
Given a plain JS lit-element like so:
The (JSON) output contains both the
myProperty
andmyBoundFunction
properties. It seems that wca is analyzing not only the jsdoc but also the component's constructor. This seems to be causing two issues. The first is that the descriptions are not present in the output, and the second is that I wouldn't expectmyBoundFunction
to be present in the output. I see that there is work to support@private
/@protected
, which may solve the latter issue.