+
+ </script>
@@ -118,7 +135,7 @@
You can submit a form in many different ways: by manually calling subm
@@ -136,7 +153,7 @@ You can submit a form in many different ways: by manually calling subm
form2.addEventListener('iron-form-submit', function(event) {
this.querySelector('.output').innerHTML = JSON.stringify(event.detail);
});
-
+ </script>
@@ -145,9 +162,9 @@ To customize the request sent to the server, you can listen to the iro
@@ -158,7 +175,7 @@ To customize the request sent to the server, you can listen to the iro
form3.addEventListener('iron-form-submit', function(event) {
this.querySelector('.output').innerHTML = JSON.stringify(event.detail);
});
-
+ </script>
@@ -170,12 +187,12 @@ Example of an iron-form
reacting to state changes
@@ -187,7 +204,7 @@ Example of an iron-form
reacting to state changes
form4Submit.disabled = false;
});
form4.addEventListener('change', function(event) {
- // Validate the entire form to see if we should enable the `Submit` button.
+ // Validate the entire form to see if we should enable the \`Submit\` button.
form4Submit.disabled = !form4.validate();
});
function _delayedSubmit(event) {
@@ -199,7 +216,65 @@ Example of an iron-form
reacting to state changes
form4.submit()
}, 1000);
}
-
+ </script>
+
+
+
+
+ Iron-form respects the novalidate
form attribute
+
+
+
+
+
+
+ );
+}
+
@@ -219,11 +294,23 @@ Iron-form respects the novalidate
form attribute
-
+
@@ -245,11 +332,23 @@ iron-form
respects nested elements
-
+
diff --git a/index.html b/index.html
index acd7140..4a4ce47 100644
--- a/index.html
+++ b/index.html
@@ -16,10 +16,10 @@