承接 yii-dream-team/yii2-jstree 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yii-dream-team/yii2-jstree

最新稳定版本:1.0.0

Composer 安装命令:

composer require yii-dream-team/yii2-jstree

包简介

Yii2 JsTree assets and widget

README 文档

README

jsTree is jquery plugin, that provides interactive trees. It is absolutely free, open source and distributed under the MIT license. jsTree is easily extendable, themable and configurable, it supports HTML & JSON data sources and AJAX loading.

This package allows you to integrate jsTree jQuery plugin into your project in a few minutes.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii-dream-team/yii2-jstree "*" 

or add

"yii-dream-team/yii2-jstree": "*" 

to the require section of your composer.json.

Usage

<?= \yiidreamteam\jstree\JsTree::widget([ 'containerOptions' => [ 'class' => 'data-tree', ], 'jsOptions' => [ 'core' => [ 'multiple' => false, 'data' => [ 'url' => \yii\helpers\Url::to(['ajax/tree']), ], 'themes' => [ 'name' => 'foobar', 'url' => "/themes/foobar/js/jstree3/style.css", 'dots' => true, 'icons' => false, ] ], ] ]) ?> 

Licence

MIT

Links

统计信息

  • 总下载量: 47.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 31
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 31
  • Watchers: 5
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04