[ADF-2764] Applied new type linker features to content services docs (#3446)

This commit is contained in:
Andy Stark
2018-06-07 00:05:16 +02:00
committed by Eugenio Romano
parent 8d363be9b3
commit 9bb941887a
43 changed files with 191 additions and 177 deletions
@@ -16,14 +16,14 @@ Implements the folder menu actions for the [Document List component](../content-
Checks if an action is available for a particular item.
- _obj:_ `any` - Item to check
- **Returns** `boolean` - True if the action is available, false otherwise
- **getHandler**(key: `string` = `null`): `ContentActionHandler`<br/>
- **getHandler**(key: `string` = `null`): [`ContentActionHandler`](../../lib/content-services/document-list/models/content-action.model.ts)<br/>
Gets the handler function for an action.
- _key:_ `string` - Identifier for the action
- **Returns** `ContentActionHandler` - The handler function
- **setHandler**(key: `string` = `null`, handler: `ContentActionHandler` = `null`): `boolean`<br/>
- **Returns** [`ContentActionHandler`](../../lib/content-services/document-list/models/content-action.model.ts) - The handler function
- **setHandler**(key: `string` = `null`, handler: [`ContentActionHandler`](../../lib/content-services/document-list/models/content-action.model.ts) = `null`): `boolean`<br/>
Sets a new handler function for an action.
- _key:_ `string` - Identifier for the action
- _handler:_ `ContentActionHandler` - The new handler function
- _handler:_ [`ContentActionHandler`](../../lib/content-services/document-list/models/content-action.model.ts) - The new handler function
- **Returns** `boolean` - True if the key was a valid action identifier, false otherwise
## Details