Home Reference Source
import TextInputSource from 'potassium-es/src/input/TextInputSource.js'
public class | source

TextInputSource

Extends:

action-input/src/input/InputSource~InputSource → TextInputSource

TextInputSource receives events from TextInputReceiver and makes them available as an InputSource

/*|0/commands - an array of strings like ["A", "B"]

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

Method Summary

Public Methods
public

queryInputPath(partialPath: string, result: Array): *

public

receiveCommand(command: *)

Public Constructors

public constructor() source

Public Members

public get name: string: string source

Return:

string

a human readable name

Public Methods

public queryInputPath(partialPath: string, result: Array): * source

Params:

NameTypeAttributeDescription
partialPath string

the relative semantic path for an input

result Array
  • optional
  • default: null

Return:

*

[active, value]

public receiveCommand(command: *) source

Params:

NameTypeAttributeDescription
command *