yii-dream-team/yii2-jstree 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固