s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
MixinDefinition
chevron_left Classes
class
MixinDefinition

Constructors

functionsMixinDefinition

Properties

data_objectContentdata_objectFileLinedata_objectFileNamedata_objectHasVariadicParameterdata_objectNamedata_objectParameters

Methods

functionsExpand
MixinDefinition
Represents a parsed @mixin definition that can be included elsewhere.
class Sandbox.UI .
sealedSandbox.Engine

build Constructors 1

MixinDefinition ()

data_object Properties 6

Content
string
The raw content of the mixin body, to be expanded when included. This includes nested rules which will be parsed during expansion.
FileLine
int
Source line for error messages
FileName
string
Source file for error messages
HasVariadicParameter
bool
Whether this mixin has a variadic parameter (last param ends with ...)
Name
string
The name of the mixin (e.g., "button" from "@mixin button")
Parameters
List`1
Parameter definitions in order, with optional default values. Key = parameter name (without $), Value = default value (null if required)

functions Methods 1

Expand (arguments, contentBlock)
string
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter