Fixed type definitions and renamed functions
This commit is contained in:
@@ -56,6 +56,7 @@ local geterrorhandler = geterrorhandler
|
||||
---@field texture texture
|
||||
|
||||
--mixed functions
|
||||
---@class df_headerfunctions : table
|
||||
detailsFramework.HeaderFunctions = {
|
||||
---comment
|
||||
---@param self df_headerchild
|
||||
|
||||
+4
-1
@@ -418,7 +418,7 @@ detailsFramework.ScriptHookMixin = {
|
||||
|
||||
---mixin to use with DetailsFramework:Mixin(table, detailsFramework.SortFunctions)
|
||||
---add methods to be used on scrollframes
|
||||
---@class DetailsFramework.ScrollBoxFunctions
|
||||
---@class df_scrollboxmixin
|
||||
detailsFramework.ScrollBoxFunctions = {
|
||||
---refresh the scrollbox by resetting all lines created with :CreateLine(), then calling the refresh_func which was set at :CreateScrollBox()
|
||||
---@param self table
|
||||
@@ -687,6 +687,9 @@ detailsFramework.ScrollBoxFunctions = {
|
||||
end,
|
||||
}
|
||||
|
||||
--back compatibility, can be removed in the future (28/04/2023)
|
||||
---@class DetailsFramework.ScrollBoxFunctions : df_scrollboxmixin
|
||||
|
||||
local SortMember = ""
|
||||
local SortByMember = function(t1, t2)
|
||||
return t1[SortMember] > t2[SortMember]
|
||||
|
||||
Reference in New Issue
Block a user