%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/11584/cwd/html/ppaobm/vendor/webcreate/jquery-ias/doc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11584/cwd/html/ppaobm/vendor/webcreate/jquery-ias/doc/extension-trigger.md
Trigger Extension
=================

The trigger extension adds a link/button which has to be clicked before loading the next page. This is very helpful when you have a footer with information. Without this your visitors could possibly not reach your footer.

This extension is bundled with IAS as a core extension.

## Usage

After [you initialized IAS](getting-started.html#javascript) you can register the extension:

```javascript
ias.extension(new IASTriggerExtension({
    text: 'Load more items', // optionally
}));
```

You can optionally set options for this extension. See below.


## Options

### text

<dl>
    <dt>Type</dt>
    <dd>string</dd>

    <dt>Default</dt>
    <dd>Load more items</dd>
</dl>

Text of the link.

### html

<dl>
    <dt>Type</dt>
    <dd>string</dd>

    <dt>Default</dt>
    <dd>&lt;div class="ias-trigger ias-trigger-next" style="text-align: center; cursor: pointer;">&lt;a>{text}&lt;/a>&lt;/div></dd>
</dl>

Allows you to override the html. The `{text}` placeholder will be replace by the value of the option `text`.

### textPrev

<dl>
    <dt>Type</dt>
    <dd>string</dd>

    <dt>Default</dt>
    <dd>Load previous items</dd>
</dl>

Text of the link that will load the previous page.

### htmlPrev

<dl>
    <dt>Type</dt>
    <dd>string</dd>

    <dt>Default</dt>
    <dd>&lt;div class="ias-trigger ias-trigger-prev" style="text-align: center; cursor: pointer;">&lt;a>{text}&lt;/a>&lt;/div></dd>
</dl>

Allows you to override the html. The `{text}` placeholder will be replace by the value of the option `textPrev`.

### offset

<dl>
    <dt>Type</dt>
    <dd>integer</dd>

    <dt>Default</dt>
    <dd>0</dd>
</dl>

The number of pages which should load automatically. After that the trigger is shown for every subsequent page.

For example: if you set the offset to 2, the pages 2 and 3 (page 1 is always shown) would load automatically and for every subsequent page the user has to press the trigger to load it.

Anon7 - 2022
AnonSec Team