Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getDefaultFoundation() {
// prettier-ignore
return new MDCLinearProgressFoundation({
addClass: helper.addClass('rootProps', this),
getPrimaryBar: () => this.root_.querySelector(MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR),
getBuffer: () => this.root_.querySelector(MDCLinearProgressFoundation.strings.BUFFER_SELECTOR),
hasClass: helper.hasClass('rootProps', this),
removeClass: helper.removeClass('rootProps', this),
setStyle: (el, styleProperty, value) => el.style[styleProperty] = value,
})
}