deleteLayoutSnapshot

Typecommand
Dictionarylibrary.responsivelayout
LibraryResponsiveLayout
Syntax
deleteLayoutSnapshot <pLongId>, [<pPropertyName>]
Associationscom.livecode.library.responsivelayout
Summary

Deletes the layout saved for the current breakpoint.

Parameters
NameTypeDescription
pLongId

The long id of an object, this object can be a card or any other control inside the card.

pPropertyName

This parameter is the name of one of the properties of the control passed in the first parameter. If this parameter is not empty, only the value of the property passed in it is deleted. But if this is not specified, all values stored for this breakpoint will be deleted.

Example
deleteLayoutSnapshot the long id of target
deleteLayoutSnapshot the long id of button 1 of this card, "visible"
Description

Use the deleteLayoutSnapshot command to delete the value of one or all properties at the current breakpoint.