new RemoteObject(data)
A class to wrap a suggestion item returned by the server.
If the server object has a 'caption' property, this property
will be used to display the row in the autocomplete component.
Otherwise the 'toString' method is used
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | string | null | The match object returned by the server |
- Source:
Extends
- goog.Disposable
Methods
-
clone() → {plana.ui.ac.RemoteObject}
-
This function returns a clone
- Source:
Returns:
-
disposeInternal()
-
- Source:
-
getData() → {Object|string}
-
Returns the match data
- Source:
Returns:
- Type
- Object | string
-
toString() → {string}
-
If the server match has a caption property, we return this property. Otherwise call 'toString'
- Source:
Returns:
- Type
- string