fonts
5 years ago
scripts
5 years ago
styles
5 years ago
global.html
1 week ago
index.html
1 week ago
module-wpcf7cf.html
5 years ago
scripts.js.html
1 week ago
scripts_es6.js.html
4 years ago
wpcf7cf.html
1 week ago
wpcf7cfApi.html
5 years ago
wpcf7cfApi.html
337 lines
| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>JSDoc: Class: wpcf7cfApi</title> |
| 6 | |
| 7 | <script src="scripts/prettify/prettify.js"> </script> |
| 8 | <script src="scripts/prettify/lang-css.js"> </script> |
| 9 | <!--[if lt IE 9]> |
| 10 | <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 11 | <![endif]--> |
| 12 | <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> |
| 13 | <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> |
| 14 | </head> |
| 15 | |
| 16 | <body> |
| 17 | |
| 18 | <div id="main"> |
| 19 | |
| 20 | <h1 class="page-title">Class: wpcf7cfApi</h1> |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | <section> |
| 28 | |
| 29 | <header> |
| 30 | |
| 31 | <h2><span class="attribs"><span class="type-signature"></span></span>wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h2> |
| 32 | |
| 33 | <div class="class-description">public API</div> |
| 34 | |
| 35 | |
| 36 | </header> |
| 37 | |
| 38 | <article> |
| 39 | <div class="container-overview"> |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | <h2>Constructor</h2> |
| 45 | |
| 46 | |
| 47 | |
| 48 | <h4 class="name" id="wpcf7cfApi"><span class="type-signature"></span>new wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h4> |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | <dl class="details"> |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | <dt class="tag-source">Source:</dt> |
| 95 | <dd class="tag-source"><ul class="dummy"><li> |
| 96 | <a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1351">line 1351</a> |
| 97 | </li></ul></dd> |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | </dl> |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | </div> |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | <h3 class="subsection-title">Methods</h3> |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | <h4 class="name" id=".repeaterAddSub"><span class="type-signature">(static) </span>repeaterAddSub<span class="signature">($form, repeaterDataId)</span><span class="type-signature"></span></h4> |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | <div class="description"> |
| 160 | Append a new sub-entry to the repeater with the name `repeaterDataId` inside the form `$form` |
| 161 | </div> |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | <h5>Parameters:</h5> |
| 172 | |
| 173 | |
| 174 | <table class="params"> |
| 175 | <thead> |
| 176 | <tr> |
| 177 | |
| 178 | <th>Name</th> |
| 179 | |
| 180 | |
| 181 | <th>Type</th> |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | <th class="last">Description</th> |
| 188 | </tr> |
| 189 | </thead> |
| 190 | |
| 191 | <tbody> |
| 192 | |
| 193 | |
| 194 | <tr> |
| 195 | |
| 196 | <td class="name"><code>$form</code></td> |
| 197 | |
| 198 | |
| 199 | <td class="type"> |
| 200 | |
| 201 | |
| 202 | <span class="param-type">String</span> |
| 203 | | |
| 204 | |
| 205 | <span class="param-type">JQuery</span> |
| 206 | |
| 207 | |
| 208 | |
| 209 | </td> |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | <td class="description last">JQuery object or css-selector representing the form</td> |
| 216 | </tr> |
| 217 | |
| 218 | |
| 219 | |
| 220 | <tr> |
| 221 | |
| 222 | <td class="name"><code>repeaterDataId</code></td> |
| 223 | |
| 224 | |
| 225 | <td class="type"> |
| 226 | |
| 227 | |
| 228 | <span class="param-type">String</span> |
| 229 | |
| 230 | |
| 231 | |
| 232 | </td> |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | <td class="description last">*data-id* attribute of the repeater. Normally this is simply the name of the repeater. However, in case of a nested repeater you need to append the name with the correct suffix. For example `my-nested-repeater__1__3`. Hint (check the `data-id` attribute in the HTML code to find the correct suffix)</td> |
| 239 | </tr> |
| 240 | |
| 241 | |
| 242 | </tbody> |
| 243 | </table> |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 | |
| 249 | |
| 250 | <dl class="details"> |
| 251 | |
| 252 | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | |
| 265 | |
| 266 | |
| 267 | |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | <dt class="tag-source">Source:</dt> |
| 278 | <dd class="tag-source"><ul class="dummy"><li> |
| 279 | <a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1358">line 1358</a> |
| 280 | </li></ul></dd> |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | |
| 286 | |
| 287 | |
| 288 | </dl> |
| 289 | |
| 290 | |
| 291 | |
| 292 | |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | |
| 301 | |
| 302 | |
| 303 | |
| 304 | |
| 305 | |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | |
| 315 | </article> |
| 316 | |
| 317 | </section> |
| 318 | |
| 319 | |
| 320 | |
| 321 | |
| 322 | </div> |
| 323 | |
| 324 | <nav> |
| 325 | <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="wpcf7cfApi.html">wpcf7cfApi</a></li></ul> |
| 326 | </nav> |
| 327 | |
| 328 | <br class="clear"> |
| 329 | |
| 330 | <footer> |
| 331 | Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon Sep 07 2020 10:41:43 GMT+0200 (Central European Summer Time) |
| 332 | </footer> |
| 333 | |
| 334 | <script> prettyPrint(); </script> |
| 335 | <script src="scripts/linenumber.js"> </script> |
| 336 | </body> |
| 337 | </html> |