MCPcopy Create free account
hub / github.com/codecombat/codecombat / afterRender

Method afterRender

app/views/play/menu/OptionsView.js:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 afterRender () {
60 super.afterRender()
61 this.volumeSlider = this.$el.find('#option-volume').slider({ animate: 'fast', min: 0, max: 1, step: 0.05 })
62 this.volumeSlider.slider('value', me.get('volume'))
63 this.volumeSlider.on('slide', this.onVolumeSliderChange)
64 return this.volumeSlider.on('slidechange', this.onVolumeSliderChange)
65 }
66
67 destroy () {
68 __guardMethod__(this.volumeSlider, 'slider', o => o.slider('destroy'))

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected