Skip to content

Commit 50fe851

Browse files
authored
Action API Readme Added (#884)
* action API readme added * #798 action api documentation added * Delete alarms.md
1 parent 9230a50 commit 50fe851

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

api-samples/action/action.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Action
2+
3+
This sample demonstrates the use of Action API which changes the badge text,icon,hover text or popup page depending on the user's choice or action.
4+
5+
[chrome.action_API_Link]('https://developer.chrome.com/docs/extensions/reference/action/')
6+
7+
## Overview
8+
9+
This sample demonstrates the Action API by allowing the user to perform the below actions:
10+
11+
- Toggle Enabled State : to enable or disable the extensions' action button in Chrome's toolbar and menu.
12+
- Change Popup Page : to change the popup page by entering a new string or url.
13+
- Badge Text : to insert a text overlay with a solid background color.
14+
- Icon Image : to change the action button's icon.
15+
- Hover Text : it is visible when mousing over the extension's icon.
16+
17+
## Implementation Notes
18+
19+
The user can set values to implement above functionalities from [here]('../demo/index.html')

0 commit comments

Comments
 (0)