JSDoc
Set button type