![]() If controls are not used, they are simply anchored to an invisible pool-control - the "control structure", meaning which control to display on what position is saved into an array containing the appropriate values. Component can be placed in Lightning App Builder App page and used in Dynamic Interactions. It can be used in the following use cases. As soon as the user "selects" an aura from the left menu it's name is saved to the addons "global" table (AuraMastery.activeAura = auraName), the editboxes will be filled with the appropriate text values and all menu controls will be displayed. This listing includes LWC component Icon Picker which allows to select Icon from SLDS Icons Library. The controls on the right side of the menu are all precreated and hidden. Here is a screenshot that makes it easier understandable: So the getfunc will just automatically use the default variable which is stored in the savedvars now. If the default value is the same that you use for the SavedVars creation the settings probably won't be nil, as they got copied from the defaults. The getfunc will try to read the savedvars and if nothing is found (= nil) it will use the default value. ![]() Find out the best CDN to use with fontawesome-iconpicker 1.2.2 or use multiple CDN as fallback. Setting the default values at lam controls will let you use the "Set back to defaults" button fo all the LAM controls e.g. 2 CDN to use with FONTAWESOME-ICONPICKER 1.2.2. The default values just need to be an array/table with all your possible saved variables as default values, which you use at the SavedVariables creation as the default values/fallback values if the real saved variables are missing (new savedvars version, new addon, settings = nil. ('target').iconpicker().iconpicker('setAlign', 'center') // Only in div tag.iconpicker('setArrowClass', 'btn-success').iconpicker('setArrowPrevIconClass', 'fas fa-angle-left').iconpicker('setArrowNextIconClass', 'fas fa-angle-right').iconpicker('setCols', 9).iconpicker('setFooter', true).iconpicker('setHeader', true).iconpicker('setIconset. ![]() This active aura's path is stored in .ĭefault = .iconPath Basically needed the icon to dynamically change to the path returned by a function that is called on clicking another button that selects the aura to be currently edited. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |