5
JSDoc을 사용하여 jQuery 플러그인을 문서화하는 방법이 궁금하십니까? 내 코드는 다음과 같습니다JSDoc과 jQuery 플러그인 설명서
/**
* The default configurations of comments
* @typedef {Object} CommentConfig
...
*/
/**
* Show comments
* @method comments
* @version 1.0.1
* @param {CommentConfig} options Configuration of comment
*/
$.fn.comments = function (options) {
// ..
}
나는 @method
이 $.fn.comments
입니다 싶지만 동작하지 않습니다.