@ng-primitives/mcp 0.106.0 → 0.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1582,6 +1582,13 @@
|
|
|
1582
1582
|
"isRequired": false,
|
|
1583
1583
|
"defaultValue": "'block'"
|
|
1584
1584
|
},
|
|
1585
|
+
{
|
|
1586
|
+
"name": "ngpMenuTriggerCooldown",
|
|
1587
|
+
"type": "number",
|
|
1588
|
+
"description": "Define the cooldown duration in milliseconds.\nWhen moving from one menu to another within this duration,\nthe showDelay is skipped for the new menu.",
|
|
1589
|
+
"isRequired": false,
|
|
1590
|
+
"defaultValue": "0"
|
|
1591
|
+
},
|
|
1585
1592
|
{
|
|
1586
1593
|
"name": "ngpMenuTriggerContext",
|
|
1587
1594
|
"type": "T | undefined",
|
|
@@ -1666,6 +1673,219 @@
|
|
|
1666
1673
|
],
|
|
1667
1674
|
"outputs": []
|
|
1668
1675
|
},
|
|
1676
|
+
"NgpNavigationMenuItem": {
|
|
1677
|
+
"name": "NgpNavigationMenuItem",
|
|
1678
|
+
"description": "The `NgpNavigationMenuItem` directive is a container for a menu trigger and its content.\nIt manages the open/close state for this specific menu item.",
|
|
1679
|
+
"selector": "[ngpNavigationMenuItem]",
|
|
1680
|
+
"exportAs": [
|
|
1681
|
+
"ngpNavigationMenuItem"
|
|
1682
|
+
],
|
|
1683
|
+
"inputs": [
|
|
1684
|
+
{
|
|
1685
|
+
"name": "ngpNavigationMenuItemValue",
|
|
1686
|
+
"type": "string",
|
|
1687
|
+
"description": "A unique value identifying this menu item.\nUsed to track which item is currently active.",
|
|
1688
|
+
"isRequired": false
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
"outputs": []
|
|
1692
|
+
},
|
|
1693
|
+
"NgpNavigationMenuLink": {
|
|
1694
|
+
"name": "NgpNavigationMenuLink",
|
|
1695
|
+
"description": "The `NgpNavigationMenuLink` directive is used for standalone navigation links\nwithin the navigation menu list (links without dropdown content).",
|
|
1696
|
+
"selector": "[ngpNavigationMenuLink]",
|
|
1697
|
+
"exportAs": [
|
|
1698
|
+
"ngpNavigationMenuLink"
|
|
1699
|
+
],
|
|
1700
|
+
"inputs": [
|
|
1701
|
+
{
|
|
1702
|
+
"name": "ngpNavigationMenuLinkDisabled",
|
|
1703
|
+
"type": "boolean",
|
|
1704
|
+
"description": "Whether the link is disabled.",
|
|
1705
|
+
"isRequired": false,
|
|
1706
|
+
"defaultValue": "false"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "ngpNavigationMenuLinkActive",
|
|
1710
|
+
"type": "boolean",
|
|
1711
|
+
"description": "Whether the link is active (represents the current page).",
|
|
1712
|
+
"isRequired": false,
|
|
1713
|
+
"defaultValue": "false"
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
"outputs": []
|
|
1717
|
+
},
|
|
1718
|
+
"NgpNavigationMenuContentItem": {
|
|
1719
|
+
"name": "NgpNavigationMenuContentItem",
|
|
1720
|
+
"description": "The `NgpNavigationMenuContentItem` directive represents an item inside navigation menu content.\nIt participates in roving focus navigation within the content panel.",
|
|
1721
|
+
"selector": "[ngpNavigationMenuContentItem]",
|
|
1722
|
+
"exportAs": [
|
|
1723
|
+
"ngpNavigationMenuContentItem"
|
|
1724
|
+
],
|
|
1725
|
+
"inputs": [
|
|
1726
|
+
{
|
|
1727
|
+
"name": "ngpNavigationMenuContentItemDisabled",
|
|
1728
|
+
"type": "boolean",
|
|
1729
|
+
"description": "Whether the item is disabled.",
|
|
1730
|
+
"isRequired": false,
|
|
1731
|
+
"defaultValue": "false"
|
|
1732
|
+
}
|
|
1733
|
+
],
|
|
1734
|
+
"outputs": []
|
|
1735
|
+
},
|
|
1736
|
+
"NgpNavigationMenu": {
|
|
1737
|
+
"name": "NgpNavigationMenu",
|
|
1738
|
+
"description": "The `NgpNavigationMenu` directive is the root container for a navigation menu.\nApply this to a `<nav>` element for proper semantics.",
|
|
1739
|
+
"selector": "[ngpNavigationMenu]",
|
|
1740
|
+
"exportAs": [
|
|
1741
|
+
"ngpNavigationMenu"
|
|
1742
|
+
],
|
|
1743
|
+
"inputs": [
|
|
1744
|
+
{
|
|
1745
|
+
"name": "ngpNavigationMenuOrientation",
|
|
1746
|
+
"type": "NgpOrientation",
|
|
1747
|
+
"description": "The orientation of the navigation menu.",
|
|
1748
|
+
"isRequired": false,
|
|
1749
|
+
"defaultValue": "'horizontal'"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"name": "ngpNavigationMenuShowDelay",
|
|
1753
|
+
"type": "number",
|
|
1754
|
+
"description": "The delay in milliseconds before showing content on hover.",
|
|
1755
|
+
"isRequired": false,
|
|
1756
|
+
"defaultValue": "200"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "ngpNavigationMenuHideDelay",
|
|
1760
|
+
"type": "number",
|
|
1761
|
+
"description": "The delay in milliseconds before hiding content.",
|
|
1762
|
+
"isRequired": false,
|
|
1763
|
+
"defaultValue": "150"
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"name": "ngpNavigationMenuValue",
|
|
1767
|
+
"type": "string | null",
|
|
1768
|
+
"description": "The currently active (open) item value.",
|
|
1769
|
+
"isRequired": false
|
|
1770
|
+
}
|
|
1771
|
+
],
|
|
1772
|
+
"outputs": [
|
|
1773
|
+
{
|
|
1774
|
+
"name": "ngpNavigationMenuValueChange",
|
|
1775
|
+
"type": "string | null",
|
|
1776
|
+
"description": "Emits when the active item changes."
|
|
1777
|
+
}
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
"NgpNavigationMenuContent": {
|
|
1781
|
+
"name": "NgpNavigationMenuContent",
|
|
1782
|
+
"description": "The `NgpNavigationMenuContent` directive is the content panel displayed when a trigger is activated.\nIt has its own roving focus group for keyboard navigation within the content.",
|
|
1783
|
+
"selector": "[ngpNavigationMenuContent]",
|
|
1784
|
+
"exportAs": [
|
|
1785
|
+
"ngpNavigationMenuContent"
|
|
1786
|
+
],
|
|
1787
|
+
"inputs": [
|
|
1788
|
+
{
|
|
1789
|
+
"name": "ngpNavigationMenuContentOrientation",
|
|
1790
|
+
"type": "NgpOrientation",
|
|
1791
|
+
"description": "The orientation for keyboard navigation within the content.\nUse 'vertical' for list layouts (default), 'horizontal' for grid layouts.",
|
|
1792
|
+
"isRequired": false,
|
|
1793
|
+
"defaultValue": "'vertical'"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"name": "ngpNavigationMenuContentWrap",
|
|
1797
|
+
"type": "boolean",
|
|
1798
|
+
"description": "Whether focus should wrap around when reaching the end of the content.",
|
|
1799
|
+
"isRequired": false,
|
|
1800
|
+
"defaultValue": "true"
|
|
1801
|
+
}
|
|
1802
|
+
],
|
|
1803
|
+
"outputs": []
|
|
1804
|
+
},
|
|
1805
|
+
"NgpNavigationMenuList": {
|
|
1806
|
+
"name": "NgpNavigationMenuList",
|
|
1807
|
+
"description": "The `NgpNavigationMenuList` directive is a container for navigation menu items.\nIt manages roving focus between menu triggers and links.",
|
|
1808
|
+
"selector": "[ngpNavigationMenuList]",
|
|
1809
|
+
"exportAs": [
|
|
1810
|
+
"ngpNavigationMenuList"
|
|
1811
|
+
],
|
|
1812
|
+
"inputs": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "ngpNavigationMenuListWrap",
|
|
1815
|
+
"type": "boolean",
|
|
1816
|
+
"description": "Whether focus should wrap around when reaching the end of the list.",
|
|
1817
|
+
"isRequired": false,
|
|
1818
|
+
"defaultValue": "true"
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"outputs": []
|
|
1822
|
+
},
|
|
1823
|
+
"NgpNavigationMenuTrigger": {
|
|
1824
|
+
"name": "NgpNavigationMenuTrigger",
|
|
1825
|
+
"description": "The `NgpNavigationMenuTrigger` directive is a button that opens navigation menu content.\nIt supports hover and focus interactions with configurable delays.",
|
|
1826
|
+
"selector": "[ngpNavigationMenuTrigger]",
|
|
1827
|
+
"exportAs": [
|
|
1828
|
+
"ngpNavigationMenuTrigger"
|
|
1829
|
+
],
|
|
1830
|
+
"inputs": [
|
|
1831
|
+
{
|
|
1832
|
+
"name": "ngpNavigationMenuTrigger",
|
|
1833
|
+
"type": "NgpOverlayContent<unknown> | undefined",
|
|
1834
|
+
"description": "The content template or component to display.",
|
|
1835
|
+
"isRequired": false
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "ngpNavigationMenuTriggerDisabled",
|
|
1839
|
+
"type": "boolean",
|
|
1840
|
+
"description": "Whether the trigger is disabled.",
|
|
1841
|
+
"isRequired": false,
|
|
1842
|
+
"defaultValue": "false"
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"name": "ngpNavigationMenuTriggerPlacement",
|
|
1846
|
+
"type": "Placement",
|
|
1847
|
+
"description": "The placement of the content relative to the trigger.",
|
|
1848
|
+
"isRequired": false,
|
|
1849
|
+
"defaultValue": "'bottom-start'"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"name": "ngpNavigationMenuTriggerOffset",
|
|
1853
|
+
"type": "NgpOffset",
|
|
1854
|
+
"description": "The offset of the content relative to the trigger.",
|
|
1855
|
+
"isRequired": false,
|
|
1856
|
+
"defaultValue": "4"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"name": "ngpNavigationMenuTriggerFlip",
|
|
1860
|
+
"type": "boolean",
|
|
1861
|
+
"description": "Whether the content should flip when there is not enough space.",
|
|
1862
|
+
"isRequired": false,
|
|
1863
|
+
"defaultValue": "true"
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"name": "ngpNavigationMenuTriggerShift",
|
|
1867
|
+
"type": "NgpShift",
|
|
1868
|
+
"description": "Configure shift behavior to keep the content in view.",
|
|
1869
|
+
"isRequired": false,
|
|
1870
|
+
"defaultValue": "undefined"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"name": "ngpNavigationMenuTriggerContainer",
|
|
1874
|
+
"type": "string | HTMLElement | null",
|
|
1875
|
+
"description": "The container for the content.",
|
|
1876
|
+
"isRequired": false,
|
|
1877
|
+
"defaultValue": "'body'"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "ngpNavigationMenuTriggerCooldown",
|
|
1881
|
+
"type": "number",
|
|
1882
|
+
"description": "The cooldown duration in milliseconds.\nWhen moving from one navigation menu item to another within this duration,\nthe showDelay is skipped for the new item.",
|
|
1883
|
+
"isRequired": false,
|
|
1884
|
+
"defaultValue": "300"
|
|
1885
|
+
}
|
|
1886
|
+
],
|
|
1887
|
+
"outputs": []
|
|
1888
|
+
},
|
|
1669
1889
|
"NgpPagination": {
|
|
1670
1890
|
"name": "NgpPagination",
|
|
1671
1891
|
"description": "The `NgpPagination` directive is used to create a pagination control.",
|
|
@@ -1928,6 +2148,13 @@
|
|
|
1928
2148
|
"description": "Define whether to track the trigger element position on every animation frame.\nUseful for moving elements like slider thumbs.",
|
|
1929
2149
|
"isRequired": false,
|
|
1930
2150
|
"defaultValue": "false"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"name": "ngpPopoverTriggerCooldown",
|
|
2154
|
+
"type": "number",
|
|
2155
|
+
"description": "Define the cooldown duration in milliseconds.\nWhen moving from one popover to another within this duration,\nthe showDelay is skipped for the new popover.",
|
|
2156
|
+
"isRequired": false,
|
|
2157
|
+
"defaultValue": "0"
|
|
1931
2158
|
}
|
|
1932
2159
|
],
|
|
1933
2160
|
"outputs": [
|
|
@@ -2935,6 +3162,13 @@
|
|
|
2935
3162
|
"type": "NgpPosition | null",
|
|
2936
3163
|
"description": "Programmatic position for the tooltip. When provided, the tooltip\nwill be positioned at these coordinates instead of the trigger element.\nUse with trackPosition=\"true\" for smooth cursor following.",
|
|
2937
3164
|
"isRequired": false
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"name": "ngpTooltipTriggerCooldown",
|
|
3168
|
+
"type": "number",
|
|
3169
|
+
"description": "Define the cooldown duration in milliseconds.\nWhen moving from one tooltip to another within this duration,\nthe showDelay is skipped for the new tooltip.",
|
|
3170
|
+
"isRequired": false,
|
|
3171
|
+
"defaultValue": "300"
|
|
2938
3172
|
}
|
|
2939
3173
|
],
|
|
2940
3174
|
"outputs": []
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
},
|
|
775
775
|
{
|
|
776
776
|
"name": "example-3",
|
|
777
|
-
"code": "import { provideMenuConfig } from 'ng-primitives/menu';\n\nbootstrapApplication(AppComponent, {\n providers: [\n provideMenuConfig({\n offset: 4,\n placement: 'top',\n flip: true,\n container: document.body,\n scrollBehavior: 'reposition',\n }),\n ],\n});",
|
|
777
|
+
"code": "import { provideMenuConfig } from 'ng-primitives/menu';\n\nbootstrapApplication(AppComponent, {\n providers: [\n provideMenuConfig({\n offset: 4,\n placement: 'top',\n flip: true,\n container: document.body,\n scrollBehavior: 'reposition',\n cooldown: 0,\n }),\n ],\n});",
|
|
778
778
|
"description": "Global Configuration"
|
|
779
779
|
},
|
|
780
780
|
{
|
|
@@ -828,6 +828,94 @@
|
|
|
828
828
|
"hasSizes": true
|
|
829
829
|
}
|
|
830
830
|
},
|
|
831
|
+
{
|
|
832
|
+
"name": "navigation-menu",
|
|
833
|
+
"entryPoint": "ng-primitives/navigation-menu",
|
|
834
|
+
"exports": [
|
|
835
|
+
"defaultNavigationMenuConfig",
|
|
836
|
+
"injectNavigationMenuConfig",
|
|
837
|
+
"NgpNavigationMenuConfig",
|
|
838
|
+
"NgpNavigationMenuConfigToken",
|
|
839
|
+
"provideNavigationMenuConfig",
|
|
840
|
+
"NgpNavigationMenuContent",
|
|
841
|
+
"injectNavigationMenuContentState",
|
|
842
|
+
"NgpNavigationMenuContentProps",
|
|
843
|
+
"NgpNavigationMenuContentState",
|
|
844
|
+
"NgpNavigationMenuContentStateToken",
|
|
845
|
+
"ngpNavigationMenuContent",
|
|
846
|
+
"provideNavigationMenuContentState",
|
|
847
|
+
"NgpNavigationMenuContentItem",
|
|
848
|
+
"injectNavigationMenuContentItemState",
|
|
849
|
+
"NgpNavigationMenuContentItemProps",
|
|
850
|
+
"NgpNavigationMenuContentItemState",
|
|
851
|
+
"NgpNavigationMenuContentItemStateToken",
|
|
852
|
+
"ngpNavigationMenuContentItem",
|
|
853
|
+
"provideNavigationMenuContentItemState",
|
|
854
|
+
"NgpNavigationMenuItem",
|
|
855
|
+
"injectNavigationMenuItemState",
|
|
856
|
+
"NgpNavigationMenuItemProps",
|
|
857
|
+
"NgpNavigationMenuItemState",
|
|
858
|
+
"NgpNavigationMenuItemStateToken",
|
|
859
|
+
"ngpNavigationMenuItem",
|
|
860
|
+
"provideNavigationMenuItemState",
|
|
861
|
+
"NgpNavigationMenuLink",
|
|
862
|
+
"injectNavigationMenuLinkState",
|
|
863
|
+
"NgpNavigationMenuLinkProps",
|
|
864
|
+
"NgpNavigationMenuLinkState",
|
|
865
|
+
"NgpNavigationMenuLinkStateToken",
|
|
866
|
+
"ngpNavigationMenuLink",
|
|
867
|
+
"provideNavigationMenuLinkState",
|
|
868
|
+
"NgpNavigationMenuList",
|
|
869
|
+
"injectNavigationMenuListState",
|
|
870
|
+
"NgpNavigationMenuListProps",
|
|
871
|
+
"NgpNavigationMenuListState",
|
|
872
|
+
"NgpNavigationMenuListStateToken",
|
|
873
|
+
"ngpNavigationMenuList",
|
|
874
|
+
"provideNavigationMenuListState",
|
|
875
|
+
"NgpNavigationMenuTrigger",
|
|
876
|
+
"injectNavigationMenuTriggerState",
|
|
877
|
+
"NgpNavigationMenuTriggerProps",
|
|
878
|
+
"NgpNavigationMenuTriggerState",
|
|
879
|
+
"NgpNavigationMenuTriggerStateToken",
|
|
880
|
+
"ngpNavigationMenuTrigger",
|
|
881
|
+
"provideNavigationMenuTriggerState",
|
|
882
|
+
"NgpNavigationMenu",
|
|
883
|
+
"injectNavigationMenuState",
|
|
884
|
+
"NgpNavigationMenuProps",
|
|
885
|
+
"NgpNavigationMenuState",
|
|
886
|
+
"NgpNavigationMenuStateToken",
|
|
887
|
+
"ngpNavigationMenu",
|
|
888
|
+
"provideNavigationMenuState"
|
|
889
|
+
],
|
|
890
|
+
"hasSecondaryEntryPoint": true,
|
|
891
|
+
"category": "utility",
|
|
892
|
+
"description": "A navigation menu component for site-wide navigation with dropdown content panels.",
|
|
893
|
+
"accessibility": [
|
|
894
|
+
"Keyboard Navigation"
|
|
895
|
+
],
|
|
896
|
+
"examples": [
|
|
897
|
+
{
|
|
898
|
+
"name": "example-0",
|
|
899
|
+
"code": "import {\n NgpNavigationMenu,\n NgpNavigationMenuList,\n NgpNavigationMenuItem,\n NgpNavigationMenuTrigger,\n NgpNavigationMenuContent,\n NgpNavigationMenuContentItem,\n NgpNavigationMenuLink,\n} from 'ng-primitives/navigation-menu';",
|
|
900
|
+
"description": "Import"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "example-1",
|
|
904
|
+
"code": "<nav ngpNavigationMenu>\n <ul ngpNavigationMenuList>\n <li ngpNavigationMenuItem>\n <button [ngpNavigationMenuTrigger]=\"productsMenu\">Products</button>\n <ng-template #productsMenu>\n <div ngpNavigationMenuContent>\n <a ngpNavigationMenuContentItem href=\"/analytics\">Analytics</a>\n <a ngpNavigationMenuContentItem href=\"/automation\">Automation</a>\n <a ngpNavigationMenuContentItem href=\"/insights\">Insights</a>\n </div>\n </ng-template>\n </li>\n <li>\n <a ngpNavigationMenuLink href=\"/pricing\">Pricing</a>\n </li>\n <li>\n <a ngpNavigationMenuLink href=\"/about\">About</a>\n </li>\n </ul>\n</nav>",
|
|
905
|
+
"description": "Usage"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "example-2",
|
|
909
|
+
"code": "<button [ngpNavigationMenuTrigger]=\"menu\" [ngpNavigationMenuTriggerCooldown]=\"0\">Menu</button>",
|
|
910
|
+
"description": "Instant Transitions (Cooldown)"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "example-3",
|
|
914
|
+
"code": "import { provideNavigationMenuConfig } from 'ng-primitives/navigation-menu';\n\nbootstrapApplication(AppComponent, {\n providers: [\n provideNavigationMenuConfig({\n orientation: 'horizontal',\n showDelay: 200,\n hideDelay: 150,\n placement: 'bottom-start',\n offset: 4,\n flip: true,\n shift: true,\n wrap: true,\n cooldown: 300,\n }),\n ],\n});",
|
|
915
|
+
"description": "Global Configuration"
|
|
916
|
+
}
|
|
917
|
+
]
|
|
918
|
+
},
|
|
831
919
|
{
|
|
832
920
|
"name": "pagination",
|
|
833
921
|
"entryPoint": "ng-primitives/pagination",
|
|
@@ -905,7 +993,7 @@
|
|
|
905
993
|
},
|
|
906
994
|
{
|
|
907
995
|
"name": "example-3",
|
|
908
|
-
"code": "import { providePopoverConfig } from 'ng-primitives/popover';\n\nbootstrapApplication(AppComponent, {\n providers: [\n providePopoverConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 0,\n flip: true,\n container: document.body,\n closeOnOutsideClick: true,\n scrollBehavior: 'reposition',\n }),\n ],\n});",
|
|
996
|
+
"code": "import { providePopoverConfig } from 'ng-primitives/popover';\n\nbootstrapApplication(AppComponent, {\n providers: [\n providePopoverConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 0,\n flip: true,\n container: document.body,\n closeOnOutsideClick: true,\n scrollBehavior: 'reposition',\n cooldown: 0,\n }),\n ],\n});",
|
|
909
997
|
"description": "Global Configuration"
|
|
910
998
|
},
|
|
911
999
|
{
|
|
@@ -939,6 +1027,7 @@
|
|
|
939
1027
|
"NgpOverlayConfig",
|
|
940
1028
|
"NgpOverlayContent",
|
|
941
1029
|
"NgpOverlayTemplateContext",
|
|
1030
|
+
"NgpOverlayCooldownManager",
|
|
942
1031
|
"injectOverlayArrowState",
|
|
943
1032
|
"NgpOverlayArrowProps",
|
|
944
1033
|
"NgpOverlayArrowState",
|
|
@@ -1600,7 +1689,7 @@
|
|
|
1600
1689
|
},
|
|
1601
1690
|
{
|
|
1602
1691
|
"name": "example-5",
|
|
1603
|
-
"code": "import { provideTooltipConfig } from 'ng-primitives/tooltip';\n\nbootstrapApplication(AppComponent, {\n providers: [\n provideTooltipConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 500,\n flip: true,\n container: document.body,\n showOnOverflow: false,\n useTextContent: true,\n }),\n ],\n});",
|
|
1692
|
+
"code": "import { provideTooltipConfig } from 'ng-primitives/tooltip';\n\nbootstrapApplication(AppComponent, {\n providers: [\n provideTooltipConfig({\n offset: 4,\n placement: 'top',\n showDelay: 0,\n hideDelay: 500,\n flip: true,\n container: document.body,\n showOnOverflow: false,\n useTextContent: true,\n cooldown: 300,\n }),\n ],\n});",
|
|
1604
1693
|
"description": "Global Configuration"
|
|
1605
1694
|
},
|
|
1606
1695
|
{
|