Add DoD Disclaimer
This commit is contained in:
33
js/components/fullpagenotice.js
Normal file
33
js/components/fullpagenotice.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import checkboxinput from './checkbox_input'
|
||||
import FormMixin from '../mixins/form'
|
||||
|
||||
export default {
|
||||
name: 'fullpagenotice',
|
||||
|
||||
mixins: [FormMixin],
|
||||
|
||||
components: {
|
||||
checkboxinput,
|
||||
},
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
agree: false,
|
||||
visible: true,
|
||||
}
|
||||
},
|
||||
|
||||
mounted: function() {
|
||||
this.$root.$on('field-change', this.handleValidChange)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleValidChange: function(event) {
|
||||
this.agree = event.value
|
||||
},
|
||||
|
||||
agreeToTermsClick: function() {
|
||||
this.visible = false
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user