@loopback/docs
Version:
Documentation for LoopBack 4
32 lines (20 loc) • 704 B
Markdown
lang: en
title: 'API docs: rest.bindelementprovider.action'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.bindelementprovider.action.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [BindElementProvider](./rest.bindelementprovider.md) > [action](./rest.bindelementprovider.action.md)
## BindElementProvider.action() method
<b>Signature:</b>
```typescript
action(key: string): Binding;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| key | <code>string</code> | |
<b>Returns:</b>
`Binding`