![]() ![]() The color of a view's name indicates whether it will be affected by edits you make on the canvas: Once you've added a set of adaptive views to a page, you can access each view by clicking its name at the top of the canvas. Generally speaking, though, we recommend you use only a single chain of inheritance while you're learning to work with this feature. ![]() For example, you may want one chain for Android devices, one for iOS devices, and one for desktop browsers. If your project calls for more platform granularity, you can create multiple chains of inheritance. IPhone 12 (Base) > iPad 4 > Desktop SmallĮdits made in the iPhone view would be reflected in both the iPad and Large Display views as well.Įdits made in the iPad view would be reflected in the Large Display view but not in the iPhone view.Įdits made in the Large Display view would only affect that view. Each view you add to a set inherits its widgets and widget properties either directly from the Base view or from another view in the set.įor example, the chain of inheritance for a simple mobile-first project might looks like this: The first link in that chain, the view from which all others inherit, is the Base view. Adaptive View InheritanceĪdaptive view sets contain a series of views organized into a chain of inheritance. New views are automatically assigned a parent view to inherit from, but you can select a different parent for a view at any time in the Inherit dropdown. ![]() You can define your own custom page dimensions or select from a number of popular device dimensions in the Presets dropdown. To add a new adaptive view to a set, click Add at the top-left of the Adaptive Views dialog, and then configure the view with the fields on the right. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |