api/module-handling/CustomModule

CustomModule:ClearFrame(frame)

Does nothing.
This should be implemented by the module. When implementing, this should return whether :UpdateLayout(frame) should be called.

Parameters

frame
the Unit Frame to update

Usage

local update_layout = MyModule:ClearFrame(frame)


CustomModule:OnHide(frame)

Handle the frame being hidden

Parameters

frame
the Unit Frame hidden.

Usage

MyModule:OnHide(frame)


CustomModule:UpdateFrame(frame)

Does nothing.
This should be implemented by the module. When implementing, this should return whether :UpdateLayout(frame) should be called.

Parameters

frame
the Unit Frame to update

Return value

false

Usage

local update_layout = MyModule:UpdateFrame(frame)



Comments

Posts Quoted:
Reply
Clear All Quotes