/tg/ Station 13 - Modules - TypesProc Details

spritesheet

Procs

ModifyInsertedA simple proc handing the Icon for you to modify before it gets turned into an asset.
create_spritesheetsOverride this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside.
get_background_urlReturns the URL to put in the background:url of the CSS asset
icon_size_idReturns the size class (ex design32x32) for a given sprite's icon

Proc Details

ModifyInserted

A simple proc handing the Icon for you to modify before it gets turned into an asset.

Arguments:

create_spritesheets

Override this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside.

get_background_url

Returns the URL to put in the background:url of the CSS asset

icon_size_id

Returns the size class (ex design32x32) for a given sprite's icon

Arguments: