This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

empty

Summary

Cancels the current selection, sets the selection type to none, and sets the item property to null.

Method of dom/Nodedom/Node

Syntax

var result = selection.empty();

Return Value

Returns an object of type NumberNumber

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

Related pages

Attributions