jsdoc: multiline description @property

前端 未结 3 796
星月不相逢
星月不相逢 2021-01-12 20:20

I am documenting my code using jsdoc, so far so good, I have a comment like below

...
* @property {string}  mode -  mode of display \'video\' - display video         


        
3条回答
  •  太阳男子
    2021-01-12 20:59

    You have to use br-Tags to resolve new new lines:

    mode of display 
       'video' - display video
       'audio' - play only the audio.

提交回复
热议问题