psContextCSSSelector - cWebContextMenu

Indicates the specific html-element within phoControl that it should appear upon

Type: Property (Web Property)

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 { WebProperty=Client }
 Property String psContextCSSSelector

Web Property Read Access: WebGet psContextCSSSelector to StringVariable
Web Property Write Access: WebSet psContextCSSSelector to StringVariable/Value

Read Access: Get psContextCSSSelector to StringVariable
Write Access: Set psContextCSSSelector to StringVariable/Value


Description

cWebContextMenu uses the psContextCSSSelector to indicates the specific html-element within phoControl that it should appear upon.

This psContextCSSSelector quite literally is the cCSS-selector according to CSS3 notation. Any element within phoControl that matches this selector will trigger the context menu to open.

Sample

Set psContextCSSSelector to "WebControl > .WebLabel#test label"


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.