Skip to content

Commit

Permalink
doc: update document
Browse files Browse the repository at this point in the history
### Feature: 
base on #43, (pull request #46) now it uses a new singleton pattern instead of forRoot pattern.

### Breaking Changes:

Remove forRoot() in imports.

`imports: [ClipboardModule]`
  • Loading branch information
maxisam authored May 2, 2017
1 parent 5dc2f60 commit 4a81374
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ System.config({
});
```


In your root module,
```
imports:[ClipboardModule.forRoot()]
```

For webpack / Angular CLI, it works as any other libraries. Please check demo folder for more help.

## Example
Expand Down

0 comments on commit 4a81374

Please sign in to comment.