Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions localtypings/pxtarget.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ declare namespace ts.pxtc {
pySnippet?: string; // value used to generate python snippet

// On block
ariaLabel?: string;
subcategory?: string;
group?: string;
whenUsed?: boolean;
Expand Down
3 changes: 2 additions & 1 deletion pxtblocks/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ function initBlock(block: Blockly.Block, info: pxtc.BlocksInfo, fn: pxtc.SymbolI
height: 36,
value: v.name
} : k,
v.namespace + "." + v.name
v.namespace + "." + v.name,
v.attributes.ariaLabel
];
});
// if a value is provided, move it first
Expand Down