diff --git a/components/doc/codeeditor/services.js b/components/doc/codeeditor/services.js
index 768889f96..c245d8f8c 100644
--- a/components/doc/codeeditor/services.js
+++ b/components/doc/codeeditor/services.js
@@ -9726,7 +9726,7 @@ const services = {
{
key: '7-1',
data: {
- name: 'primeng.png',
+ name: 'primevue.png',
size: '30kb',
type: 'Picture'
}
diff --git a/doc/galleria/AdvancedDoc.vue b/doc/galleria/AdvancedDoc.vue
index 991e33eba..dac40d619 100644
--- a/doc/galleria/AdvancedDoc.vue
+++ b/doc/galleria/AdvancedDoc.vue
@@ -2,52 +2,54 @@
Advanced Galleria implementation with a custom UI.
A slideshow implementation is defined by adding circular and autoPlay properties.
Galleria requires a value as a collection of images, item template for the higher resolution image and thumbnail template to display as a thumbnail.
Description of an image is specified with the caption property that takes the displayed object and returns content.
{{ slotProps.item.alt }}
- -{{ slotProps.item.alt }}
+ +Galleria can be controlled programmatically using a binding to activeIndex.
Settings per screen size is defined via the responsiveOptions property.
Thumbnails represent a smaller version of the actual content.
Using activeIndex, Galleria is displayed with a specific initial image.
Full screen mode is enabled by adding fullScreen property and and visibility is controlled with a binding to visible property.
Thumbnails can also be hidden in full screen mode.
Indicators are displayed at the bottom by enabling showIndicators property and interacted with the click event by default.
Indicators can be activated on hover instead of click if changeItemOnIndicatorHover is added.
Indicators can be placed at four different sides using the indicatorsPosition property. In addition, enabling showIndicatorsOnItem moves the indicators inside the image section.
Indicator content can be customized with the indicator property that takes an index as a parameter and expects content.
Navigators are displayed on hover only if showItemNavigatorsOnHover is enabled.
Navigators and Indicators can be combined as well.
Add showItemNavigators to display navigator elements and the left and right side.
Simple example with indicators only.
TreeTable requires a collection of TreeNode instances as a value and Column components as children for the representation. The column with the element to toggle a node should have expander enabled.
Column visibility based on a condition can be implemented with dynamic columns, in this sample a MultiSelect is used to manage the visible columns.
Expansion state is controlled with expandedKeys property. The expandedKeys should be an object whose keys refer to the node key and values represent the expanded state e.g. {'0-0': true}.
Columns can be created programmatically.
In addition, only the root elements should be loaded, children can be loaded on demand using nodeExpand callback.
-In addition to a regular table, alternatives with alternative sizes are available.
Custom content at header and footer slots are supported via templating.
Pagination is enabled by adding paginator property and defining rows per page.
Setting columnResizeMode as expand changes the table width as well.
A column can be fixed during horizontal scrolling by enabling the frozen property on a Column. The location is defined with the alignFrozen that can be left or right.
Horizontal scrolling is enabled when the total width of columns exceeds table width.
Adding scrollable property along with a scrollHeight for the data viewport enables vertical scrolling with fixed headers.
In multiple selection mode, value binding should be a key-value pair where key is the node key and value is a boolean to indicate selection.
-TreeTable provides nodeSelect and nodeUnselect events to listen selection events.
Multiple columns can be sorted by defining sortMode as multiple. This mode requires metaKey (e.g. ⌘) to be pressed when clicking a header.
When removableSort is present, the third click removes the sorting from the column.
Sorting on a column is enabled by adding the sortable property.