Skip to content

Commit 75f81c9

Browse files
authored
Merge pull request #6 from garyb/form-types
Use proper types for HTMLform properties
2 parents 3b35de7 + 35861bd commit 75f81c9

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
# purescript-dom-indexed
2+
3+
[![Latest release](http://img.shields.io/github/release/slamdata/purescript-dom-indexed.svg)](https://github.com/slamdata/purescript-dom-indexed/releases)
4+
[![Build status](https://travis-ci.org/slamdata/purescript-dom-indexed.svg?branch=master)](https://travis-ci.org/slamdata/purescript-dom-indexed)
5+
26
Typed DOM attributes and properties
7+
8+
## Installation
9+
10+
```
11+
bower install purescript-dom-indexed
12+
```
13+
14+
## Documentation
15+
16+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-dom-indexed).

src/DOM/HTML/Indexed.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ type HTMLform = Interactive
272272
( acceptCharset :: String
273273
, action :: String
274274
, autocomplete :: OnOff
275-
, enctype :: String
276-
, method :: String
275+
, enctype :: MediaType
276+
, method :: FormMethod
277277
, name :: String
278278
, noValidate :: Boolean
279279
, onReset :: Event

0 commit comments

Comments
 (0)