Input
MSK.Input.Open
Opens an Input Window.
Parameters
header - string - Header Text
placeholder - string - Placeholder text
field - boolean - Small Input or Big Input
Returns
input - string/number - Input
Asynchronous
-- Small Input Window
MSK.Input.Open('This is a Header', 'This is a Placeholder', function(input)
if not input then return end
print(input)
end)
-- Big Input Window
MSK.Input.Open('This is a Header', 'This is a Placeholder', true, function(input)
if not input then return end
print(input)
end)
-- As an Export:
exports.msk_core:Input(header, placeholder, field, function(input)
if not input then return end
print(input)
endSynchronous
MSK.Input.Close
Closes the current Input Window.
MSK.Input.Active
Checks if the Input Window is active
Returns
isActive - boolean - whether the Input Window is active
Last updated

