YUIDocを使用してJavaScriptメソッドのドキュメントを作成しようとしています。次のようになります。
/**
Returns an instance of className
@method getInstance
@param {string} className the of the class used to create the instance
@param {Object} options these are options used to create the instance
**/
function getInstance(className, options) { ..... }
options.id
これで、optionsオブジェクトは、、などのいくつかのパラメータを持つことができますoptions.single
。
この情報をこのドキュメントに追加するにはどうすればよい@param
ですか?