Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListItemContext<T, T, T>

Type parameters

  • T

  • T

  • T

Hierarchy

  • ElementRef
  • ElementRef
  • ElementRef

Index

Constructors

constructor

  • new ListItemContext($implicit?: any, item?: any, index?: number, even?: boolean, odd?: boolean, category?: string): ListItemContext
  • new ListItemContext($implicit?: any, item?: any, index?: number, even?: boolean, odd?: boolean): ListItemContext
  • new ListItemContext($implicit?: any, item?: any, index?: number, even?: boolean, odd?: boolean): ListItemContext
  • Parameters

    • Optional $implicit: any
    • Optional item: any
    • Optional index: number
    • Optional even: boolean
    • Optional odd: boolean
    • Optional category: string

    Returns ListItemContext

  • Parameters

    • Optional $implicit: any
    • Optional item: any
    • Optional index: number
    • Optional even: boolean
    • Optional odd: boolean

    Returns ListItemContext

  • Parameters

    • Optional $implicit: any
    • Optional item: any
    • Optional index: number
    • Optional even: boolean
    • Optional odd: boolean

    Returns ListItemContext

Properties

Optional $implicit

$implicit: any

Optional category

category: string

Optional even

even: boolean

Optional index

index: number

Optional item

item: any

nativeElement

nativeElement: T

The underlying native element or null if direct access to native elements is not supported (e.g. when the application runs in a web worker).

Use with caution

Use this API as the last resort when direct access to DOM is needed. Use templating and data-binding provided by Angular instead. Alternatively you can take a look at {@link Renderer2} which provides API that can safely be used even when direct access to native elements is not supported.

Relying on direct DOM access creates tight coupling between your application and rendering layers which will make it impossible to separate the two and deploy your application into a web worker.

Optional odd

odd: boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method