<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title>Luga Ajaxform :: API Syntax reference</title>
	<link rel="stylesheet" href="../../../src/luga.css" />
	<link rel="stylesheet" href="../../docs.css" />
	<script src="../../../lib/jquery/jquery.min.js"></script>
	<script src="../../../dist/luga.min.js"></script>
	<script src="../../docs.js"></script>
</head>
<body>

	<div data-lugacsi="../../main-nav.inc" data-lugacsi-after="luga.docs.initMainNav"></div>
	<div data-lugacsi="../sidebar.inc"></div>

	<div class="content">

		<section>
			<h1>API Syntax reference</h1>
			<p>
				Luga Ajaxform exposes an API to programmatically send a form using XHR.
				You can see them <a href="../samples/api.htm">in action</a>
			</p>
		</section><commit_msg>Ajaxform: Updated API doc<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title>Luga Ajaxform :: API Syntax reference</title>
	<link rel="stylesheet" href="../../../src/luga.css" />
	<link rel="stylesheet" href="../../docs.css" />
	<script src="../../../lib/jquery/jquery.min.js"></script>
	<script src="../../../dist/luga.min.js"></script>
	<script src="../../docs.js"></script>
</head>
<body>

	<div data-lugacsi="../../main-nav.inc" data-lugacsi-after="luga.docs.initMainNav"></div>
	<div data-lugacsi="../sidebar.inc"></div>

	<div class="content">

		<section>
			<h1>API Syntax reference</h1>
			<p>
				While Luga Ajaxform makes it very easy to handle forms in a declarative way, you can use it programmatically too.
				First you can create a new instance of luga.ajaxform.Sender, then you call its send() method.
				See <a href="../samples/api.htm">samples</a>
			</p>
			<p>
				It's important to note that each and every options available as custom attribute can be passed to luga.ajaxform.Sender 's constructor too.
				See below for a full list
			</p>
		</section>
{'fraction_non_alphanumeric': 0.2160778289810548, 'fraction_numerical': 0.00819252432155658, 'mean_word_length': 3.2570806100217866, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5303914', 'n_tokens_mistral': 738, 'n_tokens_neox': 658, 'n_words': 168}