1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 09:10:17 +02:00

setting: preview wait time change setting

This commit is contained in:
Kushagra Gour
2019-03-04 18:13:32 +05:30
parent 56167101ce
commit db1fafbfa1
4 changed files with 39 additions and 19 deletions

View File

@@ -25,7 +25,6 @@ export default class ContentWrap extends Component {
};
this.updateTimer = null;
this.updateDelay = 500;
this.htmlMode = HtmlModes.HTML;
this.jsMode = HtmlModes.HTML;
this.cssMode = CssModes.CSS;
@@ -124,7 +123,7 @@ export default class ContentWrap extends Component {
trackEvent('fn', 'usingPreview');
}
}
}, this.updateDelay);
}, this.props.prefs.previewDelay);
}
createPreviewFile(html, css, js) {