DSContEd / IntroWebDevelopment

At the end of the course, students will be able to plan, design, and implement a web site using current standards and best practices.
1 stars 1 forks source link

Please list some of the EVENTS listened FOR by the Map Viewer Code #21

Open TonyGoodDay2 opened 7 years ago

TonyGoodDay2 commented 7 years ago

Please provide a list of DOM Mouse Events

cmitchell74 commented 7 years ago

d3.selectAll('input[name="DREAMSCheckbox"]').on("change", function(d, i) { removeMap(); changeIndValue("min", 0); changeIndValue("max", 0); drawMap(geoDataFile); });

d3.selectAll('input[id="maxIndValue"]').on("focusout", function(d, i) {
    var maxValue = parseInt(d3.select('input[id="maxIndValue"]').property("value"));
    var minValue = parseInt(d3.select('input[id="minIndValue"]').property("value"));
    if (minValue > maxValue) {
        changeIndValue("max", minValue + 1);
    }
jjsahn commented 7 years ago

d3.selectAll('#BtnZoomIn').on("click", function(d, i) { console.log("Zoom In Button Clicked."); zoomClick(1); });

d3.selectAll('#BtnZoomOut').on("click", function(d, i) {
    console.log("Zoom Out Button Clicked.");
    zoomClick(-1);

});

d3.selectAll('#BtnZoomReset').on("click", function(d, i) {
    console.log("Zoom Out Button Clicked.");
    resetZoom();

});
TonyGoodDay2 commented 7 years ago

What is the documented definition of the "change" event?

cmitchell74 commented 7 years ago

onchange The event occurs when the content of a form element, the selection, or the checked state have changed (for , ,