Skip to content

Commit

Permalink
docs: padronizacao dos nossos guias
Browse files Browse the repository at this point in the history
  • Loading branch information
deMGoncalves committed Oct 8, 2024
1 parent e5b5e88 commit 395d10b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm install @bake-js/-o-id
Abaixo está um exemplo simples de como utilizar a biblioteca para criar um contador interativo:

```javascript
import { adopted, define } from '@bake-js/-o-id';
import { define } from '@bake-js/-o-id';
import { css, html, paint, repaint } from '@bake-js/-o-id/dom';
import on from '@bake-js/-o-id/event';

Expand Down Expand Up @@ -84,12 +84,6 @@ class Counter extends HTMLElement {
this.number += 1;
return this;
}

@adopted
handleAdoption() {
// Lógica adicional ao ser adotado pode ser adicionada aqui
return this;
}
}
```
Expand Down

0 comments on commit 395d10b

Please sign in to comment.