- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 22 Mar 2017 23:39:38 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 March 2017 06:40:14 UTC
The API surface would be:
```WebIDL
partial interface Range {
void expand(DOMString unit);
};
```
The `unit` values are "word", "sentence", "block" and "document". Any other values are no-ops. If we really wanted to maybe we could use an enum which would result in an exception instead.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/431#issuecomment-288630490
Received on Thursday, 23 March 2017 06:40:14 UTC