GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • Listbox
  • Autocomplete
  • Select
  • Multiselect
  • Signal

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — Option • Angular

API

    
      class Option<V> implements OnInit ,OnDestroy {}
    
    

A reference to the host element.

Whether the option is currently active (focused).

A unique identifier for the option.

The value of the option.

Whether an item is disabled.

The text used by the typeahead search.

Whether the option is selected.

@returnsvoid
@returnsvoid

Description

A selectable option in an ngListbox.

This directive should be applied to an element (e.g., <li>, <div>) within an ngListbox. The value input is used to identify the option, and the label input provides the accessible name for the option.

<li ngOption value="item-id" label="Item Name">
  Item Name
</li>
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.