commands/style#
Functions#
applyStyle()#
Defined in: commands/style.ts:89
Apply a style: embed its rule in each block it names, or, naming none,
in every block whose manifest holds an element its selector matches,
recording each changed manifest in changes. A named block that does not
exist is unknown_target.
Parameters#
view#
command#
changes#
Returns#
embedRule()#
embedRule(
graphical,select,set,name?):ManifestGraphical
Defined in: commands/style.ts:39
A graphical block with the rule embedded (see StyleCommand); its
other members, such as the display and band orders in order and the
named timestamps, are kept.
Parameters#
graphical#
ManifestGraphical | undefined
select#
Selector
set#
Properties
name?#
string