Options
All
  • Public
  • Public/Protected
  • All
Menu

Registers grade as a messageText binding in knockout

Hierarchy

  • messageText

Index

Methods

Methods

Static init

  • init(element: any, valueAccessor: any, allBindings: any): void
  • This will be called when the binding is first applied to an element. Set up any initial state, event handlers, etc. here.

    Parameters

    • element: any

      An element

    • valueAccessor: any

      A JavaScript function that you can call to get the current model property that is involved in this binding.

    • allBindings: any

      A JavaScript object that you can use to access all the model values bound to this DOM element.

    Returns void

Static update

  • update(element: any, valueAccessor: any, allBindings: any): void