src/app/services/truncator/truncator.service.ts
A truncator service.
Properties |
|
Methods |
|
Accessors |
constructor(persistenceService: PersistenceService)
|
||||||||
Constructs the Truncator service. ~constructor
Parameters :
|
Public modelChange |
modelChange(propertyName: string, value: any)
|
Template model value setter function.
Returns :
void
|
Public remainingLength | ||||||||
remainingLength(collection: any[])
|
||||||||
Remaining collection length.
Parameters :
Returns :
number
The remaining collection length. |
Public truncated | ||||||||
truncated(collection: any[])
|
||||||||
Truncated collection.
Parameters :
Returns :
any[]
The truncated collection. |
Public Readonly persistenceService |
Type : PersistenceService
|
The persistence service injected dependency.
|
Public truncatorKind |
Default value : 0 as TruncatorKind
|
Truncator kind. |
focusThreshold |
getfocusThreshold()
|
Focus threshold feature getter. |
tagCloudEmphasis |
gettagCloudEmphasis()
|
Tag cloud emphasis feature getter. |
FocusThreshold | ||||
getFocusThreshold()
|
||||
Focus threshold getter. |
||||
setFocusThreshold(value)
|
||||
Focus threshold setter.
Parameters :
Returns :
void
|
TagCloudEmphasis | ||||
getTagCloudEmphasis()
|
||||
Tag cloud emphasis getter. |
||||
setTagCloudEmphasis(value)
|
||||
Tag cloud emphasis setter.
Parameters :
Returns :
void
|