Closed ibelar closed 2 months ago
Since PrimeVue 4.0 compatibility with TailwindCss is out-of-the-box, Fohn-Ui will start integrating some of their Vue Ui component.
More info on: PrimeVue
$fileModel = new File(Data::db()); $tree = Tree::addTo(Ui::layout()); $tree->setNodes($fileModel->getFilesHierarchy()); $tree->setSelectionMode('checkbox') // 'single' or 'multiple' are also supported. ->setHeight('600px') ->setFilter(['label', 'type'], 'lenient', 'Search file'); $tree->onNodeSelected(static function ($tree, $key) { return JsToast::notify('node selected', $key); });
Implementation of PrimeVue component: Tree
Since PrimeVue 4.0 compatibility with TailwindCss is out-of-the-box, Fohn-Ui will start integrating some of their Vue Ui component.
Features:
More info on: PrimeVue
Usage
Preview
Note