Skip to content

Commit

Permalink
Apply automatic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi authored and github-actions[bot] committed Dec 15, 2024
1 parent 5ad816b commit 8bf4cc9
Show file tree
Hide file tree
Showing 2 changed files with 191 additions and 0 deletions.
183 changes: 183 additions & 0 deletions docs/api/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -53508,6 +53508,27 @@
"type": "Titanium.Calendar.Event"
}
},
{
"name": "createEvents",
"summary": "Creates multiple events at once in this calendar.",
"description": "Use this method to bulk-create events for faster performance.\nSuccessful or failed results are returned at the same position as passed in the parameters list.\nFor failed events, it will return `null` and <Titanium.Calendar.Event> for successful events.\n",
"platforms": [
{
"since": "12.6.0",
"name": "android"
}
],
"parameters": [
{
"name": "propertiesArray",
"summary": "Array of the event properties",
"type": "Array<Dictionary<Titanium.Calendar.Event>>"
}
],
"returns": {
"type": "Array<Titanium.Calendar.Event>"
}
},
{
"name": "getEventById",
"summary": "Gets the event with the specified identifier.",
Expand Down Expand Up @@ -53540,6 +53561,55 @@
"type": "Titanium.Calendar.Event"
}
},
{
"name": "getEventsById",
"summary": "Gets multiple events with their specified identifier(s).",
"description": "Use this method to bulk-fetch events for faster performance.\nOnly successful events are returned, so the identifier of events\nshould be used to compare which events were not fetched successfully.\n",
"platforms": [
{
"since": "12.6.0",
"name": "android"
}
],
"parameters": [
{
"name": "ids",
"summary": "Array of identifiers of events.",
"type": [
"Array<Number>",
"Array<String>"
]
}
],
"returns": {
"type": "Array<Titanium.Calendar.Event>"
}
},
{
"name": "deleteEvents",
"summary": "Deletes multiple events with their specified identifier(s).",
"description": "Use this method to bulk-delete events for faster performance.\nThis method only returns the count of successfully deleted events.\nIf it is important for apps to know whether the event was deleted or not,\neither use the [remove()](Titanium.Calendar.Event.remove) method, or \na single identifier that is passed as an array to this method.\nIf a specified identifier event does not exist, it will not be treated as a count,\nso the count range can be in `0 <= count <= ids.length`.\n",
"platforms": [
{
"since": "12.6.0",
"name": "android"
}
],
"parameters": [
{
"name": "ids",
"summary": "Array of identifiers of events.",
"type": [
"Array<Number>",
"Array<String>"
]
}
],
"returns": {
"summary": "Count of successfully deleted events.",
"type": "Number"
}
},
{
"name": "getEventsBetweenDates",
"summary": "Gets events that occur between two dates.",
Expand Down Expand Up @@ -136082,6 +136152,34 @@
"summary": "The expected y axis offset when the scrolling action decelerates to a stop.\n",
"type": "Number"
},
{
"name": "visibleItemCount",
"summary": "The number of visible items in the list view when the event fires.",
"type": "Number"
},
{
"name": "firstVisibleItem",
"summary": "The first visible item in the list view when the event fires; this item might not be fully visible. May be -1 on iOS.",
"type": [
"Object",
"Number"
]
},
{
"name": "firstVisibleSection",
"summary": "The first visible section in the list view when the event fires.",
"type": "Titanium.UI.ListSection"
},
{
"name": "firstVisibleItemIndex",
"summary": "The index of the first visible item in the list view when the event fires; this item might not be fully visible.\nNote: The index is `-1` when there are no items in the <Titanium.UI.ListView>.\n",
"type": "Number"
},
{
"name": "firstVisibleSectionIndex",
"summary": "The index of the first visible section in the list view when the event fires.\nNote: The index is `-1` when there are no items in the <Titanium.UI.ListView>.\n",
"type": "Number"
},
{
"name": "source",
"summary": "Source object that fired the event.",
Expand Down Expand Up @@ -164198,6 +164296,18 @@
"Titanium.UI.Color"
]
},
{
"name": "offset",
"summary": "Offset of the refresh control view.",
"platforms": [
{
"since": "12.7.0",
"name": "android"
}
],
"type": "RefreshControlOffset",
"availability": "creation"
},
{
"name": "backgroundColor",
"summary": "The background color for the refresh control, as a color name or hex triplet.",
Expand All @@ -164224,6 +164334,79 @@
],
"subtype": "proxy"
},
"RefreshControlOffset": {
"name": "RefreshControlOffset",
"summary": "Offset of the refresh control view.",
"extends": "Object",
"platforms": [
{
"since": "0.8",
"name": "android"
},
{
"since": "0.8",
"name": "iphone"
},
{
"since": "0.8",
"name": "ipad"
},
{
"since": "9.2.0",
"name": "macos"
}
],
"type": "pseudo",
"editUrl": "https://github.com/appcelerator/titanium_mobile/edit/master/apidoc/Titanium/UI/RefreshControl.yml",
"properties": [
{
"name": "start",
"summary": "The offset from the top of this view at which the progress spinner should appear.",
"platforms": [
{
"since": "0.8",
"name": "android"
},
{
"since": "0.8",
"name": "iphone"
},
{
"since": "0.8",
"name": "ipad"
},
{
"since": "9.2.0",
"name": "macos"
}
],
"type": "Number"
},
{
"name": "end",
"summary": "The offset from the top of this view at which the progress spinner should come to rest after a successful swipe gesture.",
"platforms": [
{
"since": "0.8",
"name": "android"
},
{
"since": "0.8",
"name": "iphone"
},
{
"since": "0.8",
"name": "ipad"
},
{
"since": "9.2.0",
"name": "macos"
}
],
"type": "Number"
}
]
},
"Titanium.UI.ScrollView": {
"name": "Titanium.UI.ScrollView",
"summary": "A view that contains a horizontally and/or vertically-scrollable region of content.",
Expand Down
8 changes: 8 additions & 0 deletions docs/api/structs/refreshcontroloffset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
editUrl: https://github.com/appcelerator/titanium_mobile/edit/master/apidoc/Titanium/UI/RefreshControl.yml
---
# RefreshControlOffset

<TypeHeader/>

<ApiDocs/>

0 comments on commit 8bf4cc9

Please sign in to comment.