Module: module/paramset-sk

paramset-sk

The paramset-sk element displays a paramset and generates events as the params and labels are clicked.
Events
Name Description
paramset-key-click Generated when the key for a paramset is clicked. The name of the key will be sent in e.detail.key. The value of e.detail.ctrl is true if the control key was pressed when clicking. { key: "arch", ctrl: false, }
paramset-key-value-click Generated when one value for a paramset is clicked. The name of the key will be sent in e.detail.key, the value in e.detail.value. The value of e.detail.ctrl is true if the control key was pressed when clicking. { key: "arch", value: "x86", ctrl: false, }
Attributes
Name Description
{string} clickable - If true then keys and values look like they are clickable i.e. via color, text-decoration, and cursor. If clickable is false then this element won't generate the events listed below, and the keys and values are not styled to look clickable. Setting both clickable and clickable_values is unsupported.
{string} clickable_values - If true then only the values are clickable. Setting both clickable and clickable_values is unsupported.
Source:

Members

clickable

Properties:
Name Type Description
clickable string Mirrors the clickable attribute.
Source:

clickable_values

Properties:
Name Type Description
clickable_values string Mirrors the clickable_values attribute.
Source:

highlight

Properties:
Name Type Description
highlight Object A serialized paramtools.Params.
Source:

paramsets

Properties:
Name Type Description
paramsets Object An object of the form: { paramsets: [p1, p2, ...], titles: [title1, title2, ...] } Where p1, p2, etc. are serialized paramtools.ParamSets. The title1, title2, etc. are strings to use as the title of the columns. Titles are optional.
Source: