...
Dynamic Layout functions can be used in snippets.
Scope
Functions are executed within the scope of the snippet. So references to page or variables refer to the page and variables within the snippet.
Since snippets are documents themselves (e.g. the blue document holds a logo/ image) the logo is referenced of the snippet document itself.
When we apply logic to the logo (green) it will allways refer to the dimensions and properties of the snippet document.
Even when the snippet document it places as a snippet in the "master" document.
Convert to frames
If the snippet is converted to frames, the Dynamic Layout functions are removed and the calculated value for the properties are applied.
Snippets & Alternate layouts
A snippet frame can be configured to select the best fitting alternate layout and to resize the snippet document. These options work in conjunction with Dynamic Layout functions.