<commit_before>/** @module delite/FormWidget */
define([
	"dcl/dcl",
	"dojo/window", // winUtils.scrollIntoView
	"./Widget",
	"./Invalidating"
], function (dcl, winUtils, Widget, Invalidating) {

	/**
	 * Base class for widgets that extend `HTMLElement`, but conceptually correspond
	 * to native HTML elements such as `<checkbox>` or `<button>`,
	 * which can be children of a `<form>` node.
	 *
	 * @mixin module:delite/FormWidget
	 * @augments module:delite/Widget
	 * @augments module:delite/Invalidating
	 */
	return dcl([Widget, Invalidating], /** @lends module:delite/FormWidget# */ {

		/**
		 * Name used when submitting form; same as "name" attribute or plain HTML elements.
		 * @member {string} module:delite/FormWidget.name
		 */
		name: "",

		/**
		 * Corresponds to the native HTML `<input>` element's attribute.
		 * @member {string} module:delite/FormWidget.alt
		 */
		alt: "",

		/**
		 * Corresponds to the native HTML `<input>` element's attribute.
		 * @member {string} module:delite/FormWidget.value
		 */
		value: "",<commit_msg>FormWidget: add note that this.focusNode must be a sub-node rather than the root node.<commit_after>/** @module delite/FormWidget */
define([
	"dcl/dcl",
	"dojo/window", // winUtils.scrollIntoView
	"./Widget",
	"./Invalidating"
], function (dcl, winUtils, Widget, Invalidating) {

	/**
	 * Base class for widgets that extend `HTMLElement`, but conceptually correspond
	 * to native HTML elements such as `<checkbox>` or `<button>`,
	 * which can be children of a `<form>` node.
	 *
	 * Note that FormWidget requires that this.focusNode be a sub-node of theAdd widget, rather than the
	 * root node.  This is because of it's processing of `tabIndex`.
	 *
	 * @mixin module:delite/FormWidget
	 * @augments module:delite/Widget
	 * @augments module:delite/Invalidating
	 */
	return dcl([Widget, Invalidating], /** @lends module:delite/FormWidget# */ {

		/**
		 * Name used when submitting form; same as "name" attribute or plain HTML elements.
		 * @member {string} module:delite/FormWidget.name
		 */
		name: "",

		/**
		 * Corresponds to the native HTML `<input>` element's attribute.
		 * @member {string} module:delite/FormWidget.alt
		 */
		alt: "",

		/**
		 * Corresponds to the native HTML `<input>` element's attribute.
		 * @member {string} module:delite/FormWidget.value
		 */
		value: "",
{'fraction_non_alphanumeric': 0.14237144071398214, 'fraction_numerical': 0.0, 'mean_word_length': 3.6706349206349205, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5952236', 'n_tokens_mistral': 798, 'n_tokens_neox': 707, 'n_words': 224}