anchor.diff:  open IntelliFactory.WebSharper
   open IntelliFactory.WebSharper.Html
   
  -
  -
   type DatepickerShowOptionsConfiguration =
       {
           [<Name "showOptions">]
  
positive.code:     // Adding an event and delayin it if the Pagelet is not yet rendered.
      /// Triggered when a date is selected.
      [<JavaScript>]
      member this.OnSelect(f : EcmaScript.Date -> unit) : unit =
          this
          |> OnBeforeRender(fun _ ->
              this.onSelect <| fun s ->
                  // TODO: verify
                  f <| EcmaScript.Date(s)
          )
          |> ignore
  
  
negative.code:         dp.element <- el
          el
          |> OnAfterRender (fun el  ->
              DatepickerInternal.Init(el.Body, conf))
          |> ignore
          dp
  
  