code: function (pn) {
                          if (pn < 0 || pn >= this.pageCount)
                              return;
                          if (pn == this.renderer.page)
                              return;
                          if (this.renderer) {
                              if (pn == this.renderer.page + 1) {
                                  if (this.blockInteraction) {
                                      this.pageChange.emit(this.page);
                                      return;
                                  }
                                  this.AnimateToNextPage();
                              }
                              else if (pn == this.renderer.page - 1) {
                                  if (this.blockInteraction) {
                                      this.pageChange.emit(this.page);
                                      return;
                                  }
                                  this.AnimateToPreviousPage();
                              }
                              else {
                                  if (this.blockInteraction) {
                                      this.pageChange.emit(this.page);
                                      return;
                                  }
                                  this.renderer.page = pn;
                                  this.pageChange.emit(pn);
                              }
                          }
                      }
docs: PUBLIC INTERFACE =====================================================================