Issue #5830: adds jsDocs to widgets