Skip to content

Commit e0225cd

Browse files
authored
Create example.md
1 parent 69c15ce commit e0225cd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

example.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Attach Event Listeners
2+
3+
```typescript
4+
const element = document.getElementById('container');
5+
const handler = () => {
6+
console.log('element was clicked');
7+
};
8+
9+
element.addEventListener('click', handler);
10+
11+
```
12+
13+
Apple Pencil sets the standard for how drawing, note‑taking, and marking up documents should
14+
feel — intuitive, precise, and magical. All with imperceptible lag, pixel‑perfect precision,
15+
tilt and pressure sensitivity, and support for palm rejection. Incredibly easy to use and ready when inspiration strikes.

0 commit comments

Comments
 (0)