@loopback/docs
Version:
Documentation for LoopBack 4
33 lines (21 loc) • 783 B
Markdown
lang: en
title: 'API docs: rest.bindelementprovider.action'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
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`