.. role:: ts-api-decorator

##################
NodeSelectionEvent
##################

.. js:module:: Event
   :noindex:

.. container:: ts-api-section

   .. js:class:: NodeSelectionEvent



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~Event.NodeSelectionEvent.getSelection`
   * :js:meth:`~Event.NodeSelectionEvent.getType`





------------

Methods
=======

.. rst-class:: ts-api-section

getSelection
------------

.. js:method:: NodeSelectionEvent.getSelection()



   Gets the selection object.

   :returns: Selection object containing detailed information about the selection


   :rtype: SelectionItem

.. rst-class:: ts-api-section

getType
-------

.. js:method:: NodeSelectionEvent.getType()



   Gets the result of the selection operator.

   :returns: the result of the selection


   :rtype: SelectionType

