Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IInputAttributes

Hierarchy

Indexable

[name: string]: any

this is necessary to be able to access the scoped attributes. it's not very elegant because you have to use attrs['foo'] instead of attrs.foo but I don't know of a better way this should really be limited to return string but it creates this problem: http://stackoverflow.com/q/17201854/165656

Index

Properties

$attr

$attr: Object

A map of DOM element attribute names to the normalized name. This is needed to do reverse lookup from normalized name back to actual name.

ngTableColumnsBinding

ngTableColumnsBinding: string

ngTableSelectFilterDs

ngTableSelectFilterDs: string

Methods

$addClass

  • $addClass(classVal: string): void
  • Adds the CSS class value specified by the classVal parameter to the element. If animations are enabled then an animation will be triggered for the class addition.

    Parameters

    • classVal: string

    Returns void

$normalize

  • $normalize(name: string): string

$observe

  • $observe<T>(name: string, fn: function): Function
  • Observes an interpolated attribute. The observer function will be invoked once during the next $digest following compilation. The observer is then invoked whenever the interpolated value changes.

    Type parameters

    • T

    Parameters

    • name: string
    • fn: function
        • (value?: T): any
        • Parameters

          • Optional value: T

          Returns any

    Returns Function

$removeClass

  • $removeClass(classVal: string): void
  • Removes the CSS class value specified by the classVal parameter from the element. If animations are enabled then an animation will be triggered for the class removal.

    Parameters

    • classVal: string

    Returns void

$set

  • $set(key: string, value: any): void
  • Set DOM element attribute value.

    Parameters

    • key: string
    • value: any

    Returns void

$updateClass

  • $updateClass(newClasses: string, oldClasses: string): void
  • Adds and removes the appropriate CSS class values to the element based on the difference between the new and old CSS class values (specified as newClasses and oldClasses).

    Parameters

    • newClasses: string
    • oldClasses: string

    Returns void

Generated using TypeDoc