This package adds a new data type that fills a similar niche to Umbraco's built in "Multi Url Picker" to control multiple links in a single property. The main advantage of the Flexible Link control is that it can be extended to support links beyond the 3 supported by that control (content, media and manually set links). For example, it can be extended to support links to modals/popups, which is the original reason to build this control. Below are other potential types of links,
Most of these are pretty simple examples, but developer can create their own custom link types to do whatever they need by implementing the interface IFlexibleLinkType. There are also 2 base types of links,
Generally, developers should extend one of these base classes instead of the interface, as they reduce the amount of configuration and coding that needs to be done.
Once all of the types are in place, the data type itself can be configured. The following settings are available
For more detail on how to use this package, please view readme on the github repository (follow the source code link).