Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getPrimaryBar: () => {
return (
rootEl.ref?.querySelector(
MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR
) || null
);
},
forceLayout: () => rootEl.ref?.offsetWidth,
getBuffer: () =>
this.root.ref &&
this.root.ref.querySelector(
MDCLinearProgressFoundation.strings.BUFFER_SELECTOR
),
hasClass: (className: string) => this.root.hasClass(className),
getPrimaryBar: () =>
this.root.ref &&
this.root.ref.querySelector(
MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR
),
getBuffer: () =>
getBuffer: () =>
rootEl.ref?.querySelector(
MDCLinearProgressFoundation.strings.BUFFER_SELECTOR
) || null,
hasClass: (className: string) => rootEl.hasClass(className),