Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
installed() {
new MDCLinearProgress(this.shadowRoot.querySelector('.mdc-linear-progress'));
// progress.listen('MDCSlider:change', () => {
// this.fire('change', { value: slider.progress })
// });
}
public componentDidMount() {
super.componentDidMount();
if (this.control) {
this.MDComponent = new MDCLinearProgress(this.control);
this.MDComponent.determinate = !this.props.indeterminate;
this.MDComponent.reverse = !!this.props.reversed;
}
this.afterComponentDidMount();
}
componentDidMount() {
this.MDComponent = new MDCLinearProgress(this.control);
}
componentWillUnmount() {
<div role="progressbar"> {
if (d) new MDCLinearProgress(d)}}>
<div></div></div>
public componentDidMount() {
super.componentDidMount();
if (this.control) {
this.MDComponent = new MDCLinearProgress(this.control);
this.MDComponent.determinate = !this.props.indeterminate;
this.MDComponent.reverse = !!this.props.reversed;
}
this.afterComponentDidMount();
}