Yii 2.0: yii2-hinclude

Extension to use Hinclude with Yii 2.0.
1 follower


This is a plugin to use Hinclude JS in Yii2.

Hinclude adds one element to HTML; hx:include. When the browser encounters this element, it will include the document at the end of the src attribute.

    "require": {
        "tokenpost/yii2hinclude": "dev-master"

How to usage: ΒΆ

use \TokenPost\Yii2Hinclude;
    // Here you can put the content while loading.. If you are using FontAwesome, you can put this.
    echo '<i class="fa fa-spinner fa-spin"></i>';

Be the first person to leave a comment

Please to leave your comment.

Create extension
No downloadable files yet