LegacyPluginThis
階層
- LegacyPluginThis
インデックス
プロパティ
プロパティ
options
options: { 
context: LegacyPluginThis;
data?: string;
file?: string;
includePaths: string;
indentType: 0 | 1;
indentWidth: number;
linefeed: "\r" | "\r\n" | "\n" | "\n\r";
precision: 10;
result: {
stats: {
entry: string;
start: number;
};
};
style: 1;
}
context: LegacyPluginThis;
data?: string;
file?: string;
includePaths: string;
indentType: 0 | 1;
indentWidth: number;
linefeed: "\r" | "\r\n" | "\n" | "\n\r";
precision: 10;
result: {
stats: {
entry: string;
start: number;
};
};
style: 1;
}
render または renderSync に渡されたオプションの部分的な表現。
型宣言
- 
context: LegacyPluginThisこのオブジェクトを含む同じ LegacyPluginThis インスタンス。 
- 
オプションdata?: stringdata に渡された値。 
- 
オプションfile?: string
- 
includePaths : stringincludePaths に渡された値を、Windows では ";"、その他のオペレーティングシステムでは":"で区切ったもの。これは常に、現在の作業ディレクトリを最初の項目として含みます。
- 
indentType : 0 | 1indentType が "tab"の場合は 1、それ以外の場合は 0。
- 
indentWidth : numberindentWidth に渡された値。それ以外の場合は 2。
- 
linefeed: "\r" | "\r\n" | "\n" | "\n\r"linefeed に渡された値。それ以外の場合は "\n"。
- 
precision: 10常に数値 10。 
- 
result: {
 stats: {
 entry: string;
 start: number;
 };
 }部分的に構築された LegacyResult オブジェクト。 - 
stats: {
 entry: string;
 start: number;
 }進行中のコンパイルに関する部分的な情報。 - 
entry: stringfile が渡された場合はその値、それ以外の場合は文字列 "data"。
- 
start: number1970 年 1 月 1 日 00:00:00 UTC から Sass コンパイルが開始された時刻までのミリ秒数。 
 
- 
 
- 
- 
style: 1常に数値 1。 
LegacyImporter または LegacyFunction コールバックのコンテキストにおける
thisの値。非推奨
これはレガシー render および renderSync API のみで使用されます。compile、compileString、compileAsync、および compileStringAsync を代わりに使用してください。