fix readme issues
This commit is contained in:
@@ -21,7 +21,7 @@ _The included demo React app for Google Sheets shows insertion, deletion and sel
|
||||
```
|
||||
2. Enable the Google Apps Script API for your account by visiting[(script.google.com/home/usersettings)](https://script.google.com/home/usersettings):
|
||||
|
||||

|
||||
<img width="215" height="82" src="https://i.imgur.com/vuwkzMU.png">
|
||||
|
||||
3. Log in to `clasp`:
|
||||
```bash
|
||||
@@ -84,7 +84,6 @@ Insert/activate/delete sheets through a simple HTML dialog, built with React. Ac
|
||||
.withSuccessHandler(response => doSomething(response))
|
||||
.withFailureHandler(err => handleError(err))
|
||||
.addSheet(sheetTitle);
|
||||
```
|
||||
|
||||
// Poof! With a little magic we can now do this:
|
||||
import server from '../server';
|
||||
@@ -105,16 +104,14 @@ handleError(err)
|
||||
}
|
||||
}
|
||||
|
||||
````
|
||||
```
|
||||
Now we can use familiar Promises in our client-side code and have easy access to all server functions. See [the code](./src/client/server.js) for the implementation details.
|
||||
|
||||
## Full Autocompletion
|
||||
This project includes support for autocompletion and complete type definitions for all Google Apps Script methods.
|
||||
- This project includes support for autocompletion and complete type definitions for all Google Apps Script methods.
|
||||
|
||||

|
||||
|
||||
- Lists all available methods from the appropriate Google Apps Script API
|
||||
- Full definitions with links to official documentation, plus information on argument and return type
|
||||
- All available methods from the Google Apps Script API are shown with full definitions and links to the official documentation, plus information on argument and return type
|
||||
|
||||
|
||||
## Extending this app
|
||||
@@ -138,7 +135,7 @@ const onOpen = () => {
|
||||
}
|
||||
|
||||
global.onOpen = onOpen
|
||||
````
|
||||
```
|
||||
|
||||
## Multiple dialogs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user