update(docs): fixed layout attribute

Close #676. Thx @mighe
update(docs): improved button jsdocs

Close #675. Thx @SanderElias.