Just trying to work out the best way to document components so that other devs know what to listen to:
@property = in
@fires = out
Does this look reasonable?
/**
* Modal Component
*
* @property closable the modal is closable
* @emits close the modal was closed (success)
* @emits cancel the model was cancelled
*/
export default class {
Just trying to work out the best way to document components so that other devs know what to listen to:
@property= in@fires= outDoes this look reasonable?