feat(progressbar): Progress type can be set through attribute

closes #1241