Skip to content

Releases: mcpeblocker/telegraf-pagination

Readme examples updated.

16 Nov 09:01
6238a03
Compare
Choose a tag to compare
1.4.1

Version updated to v1.4.1

Version 1.4.0

01 Oct 11:35
87be8d8
Compare
Choose a tag to compare

Support for layout adjustment of custom inline buttons

Custom inline buttons option now expect the same array as given for Markup.keyboard() function of Telegraf

Code below will be displayed as row

    inlineCustomButtons: [
      [
        Markup.button.callback("Custom 1", "custom1"),
        Markup.button.callback("Custom 2", "custom2"),
      ],
    ],

Code below will be displayed as column of these two

    inlineCustomButtons: [
      [Markup.button.callback("Custom 1", "custom1")],
      [Markup.button.callback("Custom 2", "custom2")],
    ],

Support functions in buttons mode

27 Sep 15:49
Compare
Choose a tag to compare

Using function became available in Buttons Mode:

  • Either string as key and function to form string from item can be used.
  • Function takes item and its index as arguments and can use to form complex combinations.

v1.3.3

23 Sep 18:12
Compare
Choose a tag to compare

Bug fix:

  • Default value for isSimpleArray replaced with false - so that given titleKey works fine.

v1.3.2

23 Sep 17:49
10f500e
Compare
Choose a tag to compare
  • Bug fixes
  • Corrected versioning

v1.3.2

23 Sep 17:46
a3ef304
Compare
Choose a tag to compare

Bug fixes:

  • Corrected reference of object / Reference error

v1.3.1

23 Sep 17:25
965718e
Compare
Choose a tag to compare

Bug fixed:

  • Handling custom titleKey for buttons-mode

v1.3.0

23 Sep 16:44
Compare
Choose a tag to compare

New feature:

  • Support for custom indexes in pagination buttons.

v1.2.2

17 Sep 09:56
a18be32
Compare
Choose a tag to compare
  1. Added hiding pagination buttons when there is only one page with data.
  2. And also fixed the situation when telegraf could throw an exception due to an empty button name (relevant when isButtonMode = true)

Special thanks to @destyk!

Initial release with version 1.2.1

16 Sep 06:52
eac108a
Compare
Choose a tag to compare

That's the very first "official" github release for automatic publishing telegraf-pagination package to npm registry.