Skip to main content

Function: text()

text(name, def): StringParam

Declare a free-text input (Pine input.string). Returns a handle; read .value in onBar. Named text, not string: a function called string would shadow the type inside this namespace.

Parameters​

name​

string

def​

string

Returns​

StringParam