AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Textarea json editor4/1/2023 ![]() Switches the UI component to a right-to-left representation. Specifies whether the editor is read-only. Specifies the text displayed when the input field is empty. ![]() The value to be assigned to the name attribute of the underlying HTML element.Ī function that is executed when the UI component is rendered and each time the component is repainted.Ī function that is executed before the UI component is disposed of.Ī function that is executed when the UI component gets focus.Ī function that is executed when the UI component loses focus.Ī function used in JavaScript frameworks to save the UI component instance.Ī function that is executed after a UI component property is changed.Ī function that is executed after the UI component's value is changed. Specifies or indicates whether the editor's value is valid. Specifies whether the UI component changes its state when a user pauses on it. Specifies text for a hint that appears when a user pauses on the UI component. Specifies whether the UI component can be focused using keyboard navigation. Specifies the global attributes to be attached to the UI component's container element. Specifies whether the UI component responds to user interaction. The Shift Enter key combination generates the new line.Īllows you to customize the DevExtreme Quill and 3rd-party modules. Specifies whether the UI component changes its visual state as a result of user interaction.Īllows users to break content into multiple lines within a single block element. Specifies the shortcut key that sets focus on the UI component. pseudoUrls - is intended to be used with a combination of the PseudoUrl class and the enqueueLinks() function from Crawlee.Įditor type requestListSources supports input in formats defined by the sources property of RequestListOptions.Įditor type globs maps to the Crawlee's GlobInput used by the UrlPatterObject.This section describes properties that configure the HtmlEditor UI component's contents, behavior, and appearance.requestListSources - value from this field can be used as input of RequestList class from Crawlee.Usage of this field is based on the selected editor: For example, the regular expression https:\/\/(would become https:\\/\\/(Boolean īeware that the boolean input type doesn't support the prefill property, since there is no way to display the pre-filled value in the user interface. When using escape characters \ for the regular expression in the pattern field, be sure to escape them to avoid invalid JSON issues. In addition to the properties listed above, most of the types support also additional properties defining, for example, the UI input editor. The description will be visible right under Provide additional description to the section. The field might have integer, string, array, object or boolean type and its specification contains the following properties: Propertyĭisplayed as help text in Actor input UI. Its input schema will look like this:Īn array of field keys that are required.Įach field of your input is described under its key in inputSchema.properties object. Imagine you are building a simple crawler whose inputs are an array of start URLs and a JavaScript function that will be executed at each page the crawler visits. ![]() ![]() If you need to validate your input schemas, you can use the apify vis command in the Apify CLI. ![]() You can also use our visual input schema editor to guide you through creation of the INPUT_SCHEMA.json file. If the input schema is provided, then input is always validated to fulfill the schema when an actor is being started (via API or from Apify Console). In the absence of that file, the INPUT_SCHEMA.json file stored in the actor's root directory is used. actor/actor.json are omitted, the input schema from. Alternatively, you can store a path to a JSON file in that field. actor/actor.json file under the input field. Input schema can be embedded as an object in the. Using input schema, you can provide and easy-to-use UI for your actor's users and also ensure that the input provided is valid. Provide an autogenerated input UI to your actor's users.Īn actor's input schema defines the input that the actor accepts and the UI components used for input in Apify Console. Learn how to define and easily validate a schema for your actor's input with code examples. ![]()
0 Comments
Read More
Leave a Reply. |