UNPKG

fit-ui

Version:

Object Oriented framework for building rich User Interfaces

187 lines (157 loc) 495 kB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>SimpleDocs</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <style type="text/css"> body { font-family: verdana; font-size: 12px; color: #333333; } div.page { width: 960px; margin: 0 auto; border: 1px solid lightgray; background-color: whitesmoke; } div.menu { float: left; width: 260px; padding: 10px; } div.content { float: left; width: 660px; padding: 10px; } a { color: #4794D6; text-decoration: none; } a.menulink { margin-left: 5px; margin-bottom: 3px; } a.menulink:before { content: "» "; color: orange; } h1 { font-size: 16px; font-weight: bold; margin-top: 0px; margin-bottom: 15px; } div.description { /*font-style: italic;*/ margin-bottom: 15px; } div.members { border: 1px solid #4794D6; font-weight: bold; font-size: 14px; padding: 5px; margin-bottom: 15px; } div.functions { border: 1px solid #4794D6; font-weight: bold; font-size: 14px; padding: 5px; margin-bottom: 15px; } div.access { font-weight: bold; margin-bottom: 15px; } div.member { margin-bottom: 15px; } div.function { margin-bottom: 15px; } span.access { color: red; } span.static { color: red; } span.virtual { } span.type { color: green; } span.member { color: blue; } span.function { color: blue; } span.parameter { color: purple; } span.default { color: darkred; } span.description { /*font-style: italic;*/ color: #717171; } /* Customizations specific to Fit.UI */ div.page { width: 1100px; } div.menu { width: 360px; box-sizing: border-box; border-right: 1px solid silver; overflow: hidden; } div.content { width: 700px; border-left: 1px solid silver; /* Make content border overlap menu border */ position: relative; left: -1px; } a.menulink { white-space: nowrap; } a.menulink[href*="TypeDefs"] { opacity: 0.5; } </style> </head> <body> <script type="text/javascript"> var containers = [{ "Name" : "Fit", "Description" : "", "Extends" : "" }, { "Name" : "Fit._internal.Controls.Input", "Description" : "Allows for manipulating control (appearance, features, and behaviour).\nFeatures are NOT guaranteed to be backward compatible, and incorrect use might break control!", "Extends" : "" }, { "Name" : "Fit._internal.Controls.Input.Editor", "Description" : "Internal settings related to HTML Editor (Design Mode)", "Extends" : "" }, { "Name" : "Fit.Array", "Description" : "Functionality extending the capabilities of native JS arrays", "Extends" : "" }, { "Name" : "Fit.Browser", "Description" : "Provides access to various browser information.\n\n// Example code\n\nvar browserName = Fit.Browser.GetBrowser();\nvar browserVersion = Fit.Browser.GetVersion();\nvar browserLanguage = Fit.Browser.GetLanguage();\n\nif (browserName === \"MSIE\" && browserVersion < 7)\n{\n     if (browserLanguage === \"da\")\n         alert(\"Opgrader venligst til IE7 eller nyere\");\n     else\n         alert(\"Please upgrade to IE7 or newer\");\n}", "Extends" : "" }, { "Name" : "Fit.BrowserTypeDefs.BrowserAppInfo", "Description" : "Object representing browser app environment", "Extends" : "Fit.BrowserTypeDefs.BrowserDetails" }, { "Name" : "Fit.BrowserTypeDefs.BrowserDetails", "Description" : "Object representing browser details", "Extends" : "" }, { "Name" : "Fit.BrowserTypeDefs.BrowserInfo", "Description" : "Object representing browser environment", "Extends" : "Fit.BrowserTypeDefs.BrowserDetails" }, { "Name" : "Fit.BrowserTypeDefs.ParsedUrl", "Description" : "Object representing components of a URL", "Extends" : "" }, { "Name" : "Fit.BrowserTypeDefs.QueryString", "Description" : "Object representing query string", "Extends" : "" }, { "Name" : "Fit.Color", "Description" : "", "Extends" : "" }, { "Name" : "Fit.ColorTypeDefs.RgbaColor", "Description" : "RGBA color object", "Extends" : "Fit.ColorTypeDefs.RgbColor" }, { "Name" : "Fit.ColorTypeDefs.RgbColor", "Description" : "RGB color object", "Extends" : "" }, { "Name" : "Fit.Controls", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.Button", "Description" : "Button control with support for Font Awesome icons", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.ButtonType", "Description" : "Enum values determining visual appearance of button controls", "Extends" : "" }, { "Name" : "Fit.Controls.ButtonTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.CheckBox", "Description" : "Simple CheckBox control.\nExtending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.ColorPicker", "Description" : "ColorPicker control which allows for color selection.\nExtending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.Component", "Description" : "Class from which all UI components extend", "Extends" : "" }, { "Name" : "Fit.Controls.ContextMenu", "Description" : "ContextMenu control allowing for quick access to select features.", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.ContextMenuItem", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.ContextMenuTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.ControlBase", "Description" : "Class from which all editable controls extend", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.ControlBaseTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.DatePicker", "Description" : "DatePicker control allowing user to easily pick a date and optionally time.\nOn mobile devices (phones and tablets) the native date and time pickers are used.\nExtending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.Dialog", "Description" : "Simple Dialog control with support for Fit.UI buttons.", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.DialogEditor", "Description" : "Dialog containing HTML editor for rich text editing", "Extends" : "Fit.Controls.Dialog" }, { "Name" : "Fit.Controls.DialogInterface", "Description" : "Simple interface for controlling Prompt, Confirm, and Alert dialogs", "Extends" : "" }, { "Name" : "Fit.Controls.DialogTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.DropDown", "Description" : "Drop Down Menu control allowing for single and multi selection.\nSupports data selection using any control extending from Fit.Controls.PickerBase.\nThis control is extending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.DropDownTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.DropDownTypeDefs.DropDownItem", "Description" : "DropDown item", "Extends" : "" }, { "Name" : "Fit.Controls.DropDownTypeDefs.UpdatedDropDownItem", "Description" : "DropDown item", "Extends" : "" }, { "Name" : "Fit.Controls.FilePicker", "Description" : "Control allowing for files to be selected locally and uploaded asynchronously.\nExtending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.FilePickerTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.FilePickerTypeDefs.File", "Description" : "File information", "Extends" : "" }, { "Name" : "Fit.Controls.Input", "Description" : "Input control which allows for one or multiple lines of\ntext, and features a Design Mode for rich HTML content.\nExtending from Fit.Controls.ControlBase.", "Extends" : "Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.InputResizing", "Description" : "Resizing options", "Extends" : "" }, { "Name" : "Fit.Controls.InputType", "Description" : "Enum values determining input type", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Description" : "Auto grow configuration", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Description" : "Configuration for DesignMode", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel", "Description" : "Information panel at the top or bottom of the editor, depending on the location of the toolbar", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigPlugins", "Description" : "Additional plugins enabled in DesignMode", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Description" : "Configuration for image plugins", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsTablesConfig", "Description" : "Configuration for table plugins", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Description" : "Configuration for tags in DesignMode", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Description" : "Toolbar buttons enabled in DesignMode", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeDetachable", "Description" : "Detachable configuration", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs", "Description" : "Request handler event arguments", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseEventHandlerArgs", "Description" : "Response handler event arguments", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag", "Description" : "JSON object representing tag", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorCallbackArgs", "Description" : "TagCreator event arguments", "Extends" : "" }, { "Name" : "Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType", "Description" : "JSON object representing tag to be inserted into editor", "Extends" : "" }, { "Name" : "Fit.Controls.ListView", "Description" : "Picker control which allows for entries\nto be selected in the DropDown control.", "Extends" : "Fit.Controls.PickerBase;Fit.Controls.Component" }, { "Name" : "Fit.Controls.ListViewTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.ListViewTypeDefs.ListViewItem", "Description" : "ListView item", "Extends" : "" }, { "Name" : "Fit.Controls.PickerBase", "Description" : "Class from which all Picker Controls extend.\nControl developers must override: GetDomElement, Destroy.\nOverriding the following functions is optional:\nUpdateItemSelectionState, HandleEvent.\nPicker Control must fire OnItemSelectionChanging and OnItemSelectionChanged when an item's\nselection state is being changed, which is done by invoking\nthis._internal.FireOnItemSelectionChanging(title:string, value:string, currentSelectionState:boolean, programmaticallyChanged:boolean)\nand\nthis._internal.FireOnItemSelectionChanged(title:string, value:string, newSelectionState:boolean, programmaticallyChanged:boolean).\nNotice that FireOnItemSelectionChanging may return False, which must prevent item from being\nselected, and at the same time prevent FireOnItemSelectionChanged from being called.\nChanging an item selection may cause OnItemSelectionChanging and OnItemSelectionChanged to be\nfired multiple times (e.g. if picker needs to first deselect one item before selecting another one).\nTherefore PickerBase also features the OnItemSelectionComplete event which must be fired when related\nchanges complete, which is done by invoking this._internal.FireOnItemSelectionComplete().\nOnItemSelectionComplete should only fire if a change was made (changes can be canceled using\nOnItemSelectionChanging).\nPicker control is also to invoke this._internal.FireOnFocusIn() if control gains focus, and\nthis._internal.FireOnFocusOut() if control loses focus.", "Extends" : "" }, { "Name" : "Fit.Controls.PickerBaseTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.PickerBaseTypeDefs.Item", "Description" : "Item information", "Extends" : "" }, { "Name" : "Fit.Controls.PickerBaseTypeDefs.SelectionEventHandlerArguments", "Description" : "Selection event handler arguments", "Extends" : "" }, { "Name" : "Fit.Controls.ProgressBar", "Description" : "ProgressBar control useful for indicating progress.", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.ProgressBarTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.SoftLog", "Description" : "The SoftLog is an alternative to the browser's console log which allows for debugging on devices without developer tools.", "Extends" : "Fit.Controls.Component" }, { "Name" : "Fit.Controls.TreeView", "Description" : "TreeView control allowing data to be listed in a structured manner.\nExtending from Fit.Controls.PickerBase.\nExtending from Fit.Controls.ControlBase.\n\nPerformance considerations (for huge amounts of data):\n\n1) Selectable(..) is used to transform how nodes allow selections\n(disabled/single select/multi select/select all). This requires the function to\nrecursively modify all nodes contained to make sure they are configured identically.\nHowever, this also happens when AddChild(node) is called, to make sure\nnodes added at any time is configured in accordance with TreeView configuration.\nSelectable(..) should therefore be called before adding nodes to prevent\nan extra recursive operation on all nodes contained.\n\n2) Selected(nodes) performs better than Value(\"val1;val2;val3\")\n\n3) RemoveChild(node) performance is non-linear, relative to the amount of children contained.\nThe function recursively iterates children to find selected nodes to deselect them, to\nmake sure TreeView is updated accordingly.\n\n4) GetChild(\"val1\", true) is faster at finding one specific node, compared to recursively\niterating the result from GetChildren(), since internal children collections are indexed.\n\n5) Be aware that some operations (e.g. AddChild, Expand/Collapse, Select/Deselect) forces\nInternet Explorer 8 to repaint tree to work around render bugs. Repainting can be minimized\ngreately by populating root nodes before adding them to the TreeView instance.\nHowever, be aware that this comes with the performance penalty mentioned in article 1 (AddChild).\nIt is likely that repainting does not pose a major performance problem, though.", "Extends" : "Fit.Controls.PickerBase;Fit.Controls.ControlBase" }, { "Name" : "Fit.Controls.TreeViewNode", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.TreeViewNodeOptions", "Description" : "Options for TreeViewNode", "Extends" : "" }, { "Name" : "Fit.Controls.TreeViewTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.TreeViewTypeDefs.SelectionEventHandlerArgs", "Description" : "Selection event handler arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSContextMenu", "Description" : "ContextMenu control allowing for quick access to select features provided by a WebService.\nExtending from Fit.Controls.ContextMenu.", "Extends" : "Fit.Controls.ContextMenu" }, { "Name" : "Fit.Controls.WSContextMenuTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.WSContextMenuTypeDefs.DataEventArgs", "Description" : "Data event handler arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSContextMenuTypeDefs.RequestEventArgs", "Description" : "Request event handler arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSDropDown", "Description" : "WebService enabled Drop Down Menu control allowing for single and multi selection.\nSupports data selection using any control extending from Fit.Controls.PickerBase.\nThis control is extending from Fit.Controls.DropDown.", "Extends" : "Fit.Controls.DropDown" }, { "Name" : "Fit.Controls.WSDropDownTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.WSDropDownTypeDefs.AbortedRequestEventArgs", "Description" : "Aborted request event arguments", "Extends" : "Fit.Controls.WSDropDownTypeDefs.RequestEventArgs" }, { "Name" : "Fit.Controls.WSDropDownTypeDefs.RequestEventArgs", "Description" : "Request event arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSDropDownTypeDefs.ResponseEventArgs", "Description" : "Response event arguments", "Extends" : "Fit.Controls.WSDropDownTypeDefs.RequestEventArgs" }, { "Name" : "Fit.Controls.WSListView", "Description" : "WebService enabled picker control which allows for entries\nto be selected in the DropDown control.", "Extends" : "Fit.Controls.ListView" }, { "Name" : "Fit.Controls.WSListViewTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.WSListViewTypeDefs.AbortHandlerEventArgs", "Description" : "Abort event handler arguments", "Extends" : "Fit.Controls.WSListViewTypeDefs.EventHandlerArgs" }, { "Name" : "Fit.Controls.WSListViewTypeDefs.DataHandlerEventArgs", "Description" : "Data event handler arguments", "Extends" : "Fit.Controls.WSListViewTypeDefs.EventHandlerArgs" }, { "Name" : "Fit.Controls.WSListViewTypeDefs.EventHandlerArgs", "Description" : "Event handler arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSListViewTypeDefs.JsonItem", "Description" : "JSON list item", "Extends" : "" }, { "Name" : "Fit.Controls.WSTreeView", "Description" : "TreeView control allowing data from a\nWebService to be listed in a structured manner.\nExtending from Fit.Controls.TreeView.\n\nNotice: WSTreeView works a bit differently from TreeView.\nNodes are loaded on-demand, meaning when Selected(..) or Value(..)\nis called to set selections, nodes not loaded yet are stored internally as\npreselections. Nodes not loaded yet will not have OnSelect, OnSelected,\nand any associated events fired, until they are actually loaded.\nBut they will be returned when Selected() or Value() is called (getters).\nOnChange, however, will always be fired when selections are changed,\nno matter if nodes are loaded or not.", "Extends" : "Fit.Controls.TreeView" }, { "Name" : "Fit.Controls.WSTreeViewSelectAllMode", "Description" : "Enum indicating how data is loaded from WebService when using the Select All feature", "Extends" : "" }, { "Name" : "Fit.Controls.WSTreeViewTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Controls.WSTreeViewTypeDefs.AbortHandlerEventArgs", "Description" : "Abort event handler arguments", "Extends" : "Fit.Controls.WSTreeViewTypeDefs.EventHandlerArgs" }, { "Name" : "Fit.Controls.WSTreeViewTypeDefs.DataHandlerEventArgs", "Description" : "Data event handler arguments", "Extends" : "Fit.Controls.WSTreeViewTypeDefs.EventHandlerArgs" }, { "Name" : "Fit.Controls.WSTreeViewTypeDefs.EventHandlerArgs", "Description" : "Request handler event arguments", "Extends" : "" }, { "Name" : "Fit.Controls.WSTreeViewTypeDefs.JsonItem", "Description" : "JSON object representing node", "Extends" : "" }, { "Name" : "Fit.Cookies", "Description" : "Cookie functionality.\nSet/Get/Remove functions can be invoked as static members, or an instance of Fit.Cookies\ncan be created to isolate cookies to either the current path or a custom path.", "Extends" : "" }, { "Name" : "Fit.CookiesDefs.Cookie", "Description" : "New cookie", "Extends" : "Fit.CookiesDefs.CookieIdentity" }, { "Name" : "Fit.CookiesDefs.CookieIdentity", "Description" : "Cookie identity", "Extends" : "" }, { "Name" : "Fit.Core", "Description" : "Core features extending the capabilities of native JS", "Extends" : "" }, { "Name" : "Fit.Core.MergeOverwriteBehaviour", "Description" : "Merge behaviour", "Extends" : "" }, { "Name" : "Fit.CoreTypeDefs.DebounceFunction", "Description" : "", "Extends" : "" }, { "Name" : "Fit.CoreTypeDefs.VersionInfo", "Description" : "Version information", "Extends" : "" }, { "Name" : "Fit.Data", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Date", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Device", "Description" : "Provides access to device information.", "Extends" : "" }, { "Name" : "Fit.Dom", "Description" : "DOM (Document Object Model) manipulation and helper functionality", "Extends" : "" }, { "Name" : "Fit.DragDrop.Draggable", "Description" : "", "Extends" : "" }, { "Name" : "Fit.DragDrop.DraggableTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.DragDrop.DropZone", "Description" : "", "Extends" : "" }, { "Name" : "Fit.DragDrop.DropZoneTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Events", "Description" : "Event handler functionality", "Extends" : "" }, { "Name" : "Fit.EventsTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.EventTypeDefs.ModifierKeys", "Description" : "Modifier keys", "Extends" : "" }, { "Name" : "Fit.EventTypeDefs.PointerState", "Description" : "Pointer state", "Extends" : "" }, { "Name" : "Fit.Http.JsonpRequest", "Description" : "JSONP (JSON with Padding) request functionality allowing for cross-domain data exchange.\n\n// Example code\n\nvar http = new Fit.Http.JsonpRequest(\"GetUsers.php\");\nhttp.OnSuccess(function(r)\n{\n     var data = http.GetResponse();\n     console.log(data);\n});\nhttp.Start();", "Extends" : "" }, { "Name" : "Fit.Http.JsonpRequestTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Http.JsonRequest", "Description" : "Asynchronous HTTP request functionality (AJAX/WebService)\noptimized for exchanging data with the server in JSON format.\nExtending from Fit.Http.Request.\n\n// Example code\n\nvar http = new Fit.Http.JsonRequest(\"WebService.asmx/AddUser\");\n\nhttp.SetData({ Username: \"Jack\", Password: \"Secret\" });\nhttp.OnSuccess(function(sender)\n{\n     var json = http.GetResponseJson();\n     alert(\"User created - server response: \" + json.Message);\n});\n\nhttp.Start();", "Extends" : "Fit.Http.Request" }, { "Name" : "Fit.Http.Request", "Description" : "Asynchronous HTTP request functionality (AJAX/WebService).\n\n// Example code\n\nvar http = new Fit.Http.Request(\"CreateUser.php\");\n\nhttp.SetData(\"username=Jack&password=Secret\");\nhttp.OnStateChange(function(r)\n{\n     if (http.GetCurrentState() === 4 && http.GetHttpStatus() === 200)\n         alert(\"User created - server said: \" + http.GetResponseText());\n});\n\nhttp.Start();", "Extends" : "" }, { "Name" : "Fit.Http.RequestTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Internationalization", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Loader", "Description" : "Loader is a useful mechanism for loading styleheets and JavaScript on demand in a non blocking manner.", "Extends" : "" }, { "Name" : "Fit.LoaderTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.LoaderTypeDefs.ResourceConfiguration", "Description" : "Resource configuration", "Extends" : "" }, { "Name" : "Fit.Math", "Description" : "Math related functionality.", "Extends" : "" }, { "Name" : "Fit.Math.MidpointRounding", "Description" : "Enum values determining how a rounding mechanism processes a number that is midway between two numbers.", "Extends" : "" }, { "Name" : "Fit.String", "Description" : "", "Extends" : "" }, { "Name" : "Fit.Template", "Description" : "Templating engine allowing for separation between layout and logic.\n\n// Example code\n\n// Load template (asynchronously)\nvar tpl = new Fit.Template(true);\ntpl.LoadUrl(&quot;UserListView.html&quot;, function(sender)\n{\n&#160;&#160;&#160;&#160; // Populate placeholders\n&#160;&#160;&#160;&#160; tpl.Content.Title = &quot;User list&quot;;\n&#160;&#160;&#160;&#160; tpl.Content.Description = &quot;List of users created in system&quot;;\n\n&#160;&#160;&#160;&#160; // Load user data\n&#160;&#160;&#160;&#160; var users = getUsers();\n\n&#160;&#160;&#160;&#160; // Populate user list with data\n&#160;&#160;&#160;&#160; Fit.Array.ForEach(users, function(userData)\n&#160;&#160;&#160;&#160; {\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var user = tpl.Content.Users.AddItem();\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; user.Name = userData.Name;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; user.Role = userData.Role;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; user.Email = userData.Email;\n&#160;&#160;&#160;&#160; });\n\n&#160;&#160;&#160;&#160; // Push changes to DOM\n&#160;&#160;&#160;&#160; tpl.Update();\n});\ntpl.Render(document.getElementById(\"UserList\"));\n\n// HTML template example (UserListView.html)\n\n&lt;h1&gt;{[Title]}&lt;/h1&gt;\n&lt;p&gt;{[Description]}&lt;/p&gt;\n&lt;table&gt;\n&#160;&#160;&#160;&#160; &lt;tr&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&lt;b&gt;User ID&lt;/b&gt;&lt;/td&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&lt;b&gt;Name&lt;/b&gt;&lt;/td&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&lt;b&gt;E-mail&lt;/b&gt;&lt;/td&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;&lt;b&gt;Department&lt;/b&gt;&lt;/td&gt;\n&#160;&#160;&#160;&#160; &lt;/tr&gt;\n&#160;&#160;&#160;&#160; &lt;!-- LIST Users --&gt;\n&#160;&#160;&#160;&#160; &lt;tr&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;{[Name]}&lt;/td&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;{[Role]}&lt;/td&gt;\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;td&gt;{[Email]}&lt;/td&gt;\n&#160;&#160;&#160;&#160; &lt;/tr&gt;\n&#160;&#160;&#160;&#160; &lt;!-- /LIST Users --&gt;\n&lt;/table&gt;", "Extends" : "" }, { "Name" : "Fit.TemplateList", "Description" : "A template list is a dynamically created object representing\na variable number of items containing placeholders. An example\ncould be a list of Users containing information such as Name,\nPhone number, and E-mail address about each user.", "Extends" : "" }, { "Name" : "Fit.TemplateTypeDefs", "Description" : "", "Extends" : "" }, { "Name" : "Fit.TypeDefs.CssUnit", "Description" : "Represents a CSS unit", "Extends" : "" }, { "Name" : "Fit.TypeDefs.CssValue", "Description" : "Represents a CSS value", "Extends" : "" }, { "Name" : "Fit.TypeDefs.Dimension", "Description" : "Represents the size of a visual object", "Extends" : "" }, { "Name" : "Fit.TypeDefs.Position", "Description" : "Position of a visual object from top and left", "Extends" : "" }, { "Name" : "Fit.TypeDefs.ScrollBarInfo", "Description" : "True if scrollbar is enabled, otherwise False Size of scrollbar - always returns 0 if Enabled is False", "Extends" : "" }, { "Name" : "Fit.TypeDefs.ScrollBarsPresent", "Description" : "Vertical scrollbar information Horizontal scrollbar information", "Extends" : "" }, { "Name" : "Fit.Validation", "Description" : "Validation logic", "Extends" : "" }]; var members = [{ "Container" : "Fit.BrowserTypeDefs.BrowserAppInfo", "Access" : "", "Name" : "Name", "Type" : "\"Edge\" | \"EdgeChromium\" | \"Chrome\" | \"Safari\" | \"MSIE\" | \"Firefox\" | \"Opera\" | \"OperaChromium\" | \"Unknown\"", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Browser app name" }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "IsMobile", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Boolean indicating whether this is a mobile device (tablet or phone)" }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "IsPhone", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Boolean indicating whether this is a phone" }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "IsTablet", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Boolean indicating whether this is a tablet device" }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "IsTouchEnabled", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Boolean indicating whether this is a touch enabled device" }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "Language", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Browser language, e.g. en, da, de, etc." }, { "Container" : "Fit.BrowserTypeDefs.BrowserDetails", "Access" : "", "Name" : "Version", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Browser version" }, { "Container" : "Fit.BrowserTypeDefs.BrowserInfo", "Access" : "", "Name" : "Name", "Type" : "\"Edge\" | \"Chrome\" | \"Safari\" | \"MSIE\" | \"Firefox\" | \"Opera\" | \"Unknown\"", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Browser name" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Auth", "Type" : "string | null", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Authentication token or user:pass if specified, otherwise Null" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "FullPath", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Path and Resource combined, e.g. /folder/resource.php" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Hash", "Type" : "string | null", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "URL hash value if specified, otherwise Null" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Host", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Hostname, e.g. localhost or domain name" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Parameters", "Type" : "{[key:string]: string | undefined}", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Associative array with key value pairs representing URL parameters" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Path", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Path to folder containing resources, e.g. / or /folder" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Port", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Port number - returns -1 if not defined in URL" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Protocol", "Type" : "\"ftp\" | \"http\" | \"https\"", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Full URL address" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Resource", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Name of resource, e.g. resource.php" }, { "Container" : "Fit.BrowserTypeDefs.ParsedUrl", "Access" : "", "Name" : "Url", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Full URL address" }, { "Container" : "Fit.BrowserTypeDefs.QueryString", "Access" : "", "Name" : "Hash", "Type" : "string | null", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "URL hash value if specified, otherwise Null" }, { "Container" : "Fit.BrowserTypeDefs.QueryString", "Access" : "", "Name" : "Parameters", "Type" : "{[key:string]: string | undefined}", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Associative array with key value pairs representing URL parameters" }, { "Container" : "Fit.BrowserTypeDefs.QueryString", "Access" : "", "Name" : "Url", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Full URL address" }, { "Container" : "Fit.ColorTypeDefs.RgbaColor", "Access" : "", "Name" : "Alpha", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Alpha channel (opacity)" }, { "Container" : "Fit.ColorTypeDefs.RgbColor", "Access" : "", "Name" : "Blue", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "" }, { "Container" : "Fit.ColorTypeDefs.RgbColor", "Access" : "", "Name" : "Green", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "" }, { "Container" : "Fit.ColorTypeDefs.RgbColor", "Access" : "", "Name" : "Red", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "" }, { "Container" : "Fit.Controls.DropDownTypeDefs.DropDownItem", "Access" : "", "Name" : "Title", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Item title" }, { "Container" : "Fit.Controls.DropDownTypeDefs.DropDownItem", "Access" : "", "Name" : "Valid", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Value indicating whether item is a valid selection" }, { "Container" : "Fit.Controls.DropDownTypeDefs.DropDownItem", "Access" : "", "Name" : "Value", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Unique item value" }, { "Container" : "Fit.Controls.DropDownTypeDefs.UpdatedDropDownItem", "Access" : "", "Name" : "Exists", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Value indicating whether item still exists or not" }, { "Container" : "Fit.Controls.DropDownTypeDefs.UpdatedDropDownItem", "Access" : "", "Name" : "Title", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Updated item title" }, { "Container" : "Fit.Controls.DropDownTypeDefs.UpdatedDropDownItem", "Access" : "", "Name" : "Value", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "unique item value" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Filename", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "File name" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "FileObject", "Type" : "File | null", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Native JS File object representing file data - returns Null on browsers not supporting the File API" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "GetImagePreview", "Type" : "Fit.Controls.FilePickerTypeDefs.GetImagePreview", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Get image preview for supported file types - returns Null on browsers not supporting the File API" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Id", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Unique file ID" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Processed", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Flag indicating whether file has been uploaded, or is currently being uploaded, with a value of True" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Progress", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Value from 0-100 indicating upload progress, a value of -1 when not uploading/uploaded" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "ServerResponse", "Type" : "string | null", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Response from server after successful file upload, otherwise Null" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Size", "Type" : "integer", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "File size in bytes - returns -1 on browsers not supporting the File API" }, { "Container" : "Fit.Controls.FilePickerTypeDefs.File", "Access" : "", "Name" : "Type", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Mime type - returns Unknown on browsers not supporting the File API" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Access" : "", "Name" : "Enabled", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Flag indicating whether auto grow feature is enabled or not - on by default if no height is set, or if Height(-1) is set" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Access" : "", "Name" : "MaximumHeight", "Type" : "{ Value: number, Unit?: Fit.TypeDefs.CssUnit }", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Maximum height of editable area" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Access" : "", "Name" : "MinimumHeight", "Type" : "{ Value: number, Unit?: Fit.TypeDefs.CssUnit }", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Minimum height of editable area" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Access" : "", "Name" : "PreventResizeBeyondMaximumHeight", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Prevent user from resizing editor beyond maximum height (see MaximumHeight property - defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "AutoGrow", "Type" : "Fit.Controls.InputTypeDefs.DesignModeAutoGrow", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Auto grow configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "Detachable", "Type" : "Fit.Controls.InputTypeDefs.DesignModeDetachable", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Detachable configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "InfoPanel", "Type" : "Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Information panel configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel", "Access" : "", "Name" : "Alignment", "Type" : "'Left' | 'Center' | 'Right'", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Text alignment - defaults to Center" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel", "Access" : "", "Name" : "Text", "Type" : "string", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Text to display" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "Plugins", "Type" : "Fit.Controls.InputTypeDefs.DesignModeConfigPlugins", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Plugins configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPlugins", "Access" : "", "Name" : "Emojis", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Plugin(s) related to emoji support (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPlugins", "Access" : "", "Name" : "Images", "Type" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Plugin(s) related to support for images (not enabled by default)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Access" : "", "Name" : "EmbedType", "Type" : "'base64' | 'blob'", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "How to store and embed images. Base64 (default) is persistent while blob is temporary\nand must be extracted from memory and uploaded/stored to be permanantly persisted.\nReferences to blobs can be parsed from the HTML value produced by the editor." }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Access" : "", "Name" : "Enabled", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Flag indicating whether to enable image plugins or not (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Access" : "", "Name" : "RevokeBlobUrlsOnDispose", "Type" : "'All' | 'UnreferencedOnly'", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "This option is in effect when EmbedType is blob.\nDispose images from blob storage (revoke blob URLs) added though image plugins when control is disposed.\nIf \"UnreferencedOnly\" is specified, the component using Fit.UI's input control will be responsible for\ndisposing referenced blobs. Failing to do so may cause a memory leak. Defaults to All." }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Access" : "", "Name" : "RevokeExternalBlobUrlsOnDispose", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "This option is in effect when EmbedType is blob.\nDispose images from blob storage (revoke blob URLs) added through Value(..)\nfunction when control is disposed. Basically ownership of these blobs are handed\nover to the control for the duration of its life time.\nThese images are furthermore subject to the rule set in RevokeBlobUrlsOnDispose.\nDefaults to False." }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig", "Access" : "", "Name" : "RevokeUnreferencedBlobUrlsOnValueSet", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "This option is in effect when EmbedType is blob.\nDispose images from blob storage (revoke blob URLs) when value is changed with Value(..),\nbut keep any images still referenced in new value. This is useful if an editor instance\nis being used to modify different HTML values over time." }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigPluginsTablesConfig", "Access" : "", "Name" : "Enabled", "Type" : "boolean", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Flag indicating whether to enable table plugins or not (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "Tags", "Type" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Tags configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "JsonpCallback", "Type" : "string", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Name of URL parameter receiving name of JSONP callback function (only for JSONP services)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "JsonpTimeout", "Type" : "integer", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Number of milliseconds to allow JSONP request to wait for a response before aborting (only for JSONP services)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "OnRequest", "Type" : "Fit.Controls.InputTypeDefs.DesignModeTagsOnRequest", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Event handler invoked when tags are requested. Request may be canceled by returning False.\nFunction receives two arguments:\nSender (Fit.Controls.Input) and EventArgs object.\nEventArgs object contains the following properties:\n- Sender: Fit.Controls.Input instance\n- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance\n- Query: Contains query information in its Marker and Query property" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "OnResponse", "Type" : "Fit.Controls.InputTypeDefs.DesignModeTagsOnResponse", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Event handler invoked when tags data is received, allowing for data transformation.\nFunction receives two arguments:\nSender (Fit.Controls.Input) and EventArgs object.\nEventArgs object contains the following properties:\n- Sender: Fit.Controls.Input instance\n- Request: Fit.Http.JsonpRequest or Fit.Http.JsonRequest instance\n- Query: Contains query information in its Marker and Query property\n- Tags: JSON tags array received from WebService" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "QueryUrl", "Type" : "string", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "URL to request data from. Endpoint receives the following payload:\n{ Marker: \"@\", Query: \"search\" }\n\nData is expected to be returned in the following format:\n[\n{ Value: \"t-1\", Title: \"Tag 1\", Icon: \"images/img1.jpeg\", Url: \"show/1\", Data: \"...\" },\n{ Value: \"t-2\", Title: \"Tag 2\", Icon: \"images/img2.jpeg\", Url: \"show/2\", Data: \"...\" }, ...\n]\n\nThe Value and Title properties are required. The Icon property is optional and must specify the path to an image.\nThe Url property is optional and must specify a path to a related page/resource.\nThe Data property is optional and allows for additional data to be associated with the tag.\nTo hold multiple values, consider using a base64 encoded JSON object:\nbtoa(JSON.stringify({ creationDate: new Date(), active: true }))\n\nThe data eventuelly results in a tag being added to the editor with the following format:\nTag name 1\nThe data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data." }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "TagCreator", "Type" : "Fit.Controls.InputTypeDefs.DesignModeTagsTagCreator", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Callback invoked when a tag is being inserted into editor, allowing\nfor customization to the title and attributes associated with the tag.\nFunction receives two arguments:\nSender (Fit.Controls.Input) and EventArgs object.\nEventArgs object contains the following properties:\n- Sender: Fit.Controls.Input instance\n- QueryMarker: String containing query marker\n- Tag: JSON tag received from WebService" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigTags", "Access" : "", "Name" : "Triggers", "Type" : "{ Marker: string, MinimumCharacters?: integer, DebounceQuery?: integer, Pattern?: RegExp }[]", "Default" : "", "Nullable" : false, "Static" : false, "Description" : "Markers triggering tags request and context menu.\nNotice that Pattern, if specified, must include the marker for match to occur,\nas well as specifying the minimum amount of characters - e.g. /^@[a-z]{3,}$/" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfig", "Access" : "", "Name" : "Toolbar", "Type" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Toolbar configuration" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Detach", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable detach button (defaults to false)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Emojis", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable emoji button (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Formatting", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable text formatting (bold, italic, underline) (defaults to True)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "HideWhenInactive", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Hide toolbar when control is inactive (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Images", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable image button (defaults to false)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Justify", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable text alignment (defaults to True)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Links", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable links (defaults to True)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Lists", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable ordered and unordered lists with indentation (defaults to True)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Position", "Type" : "'Top' | 'Bottom'", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Toolbar position (defaults to Top)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Sticky", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Make toolbar stick to edge of scroll container on supported browsers when scrolling (defaults to False)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeConfigToolbar", "Access" : "", "Name" : "Tables", "Type" : "boolean", "Default" : "undefined", "Nullable" : false, "Static" : false, "Description" : "Enable table button (defaults to false)" }, { "Container" : "Fit.Controls.InputTypeDefs.DesignModeDetachable", "Access" : "",