PreflightRule(A preflight rule)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| anyItem() | PreflightRule | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | PreflightRule (Array) | 全てのオブジェクトを返す | |||
| firstItem() | PreflightRule | 最初のオブジェクトを返す | |||
| item(index) | PreflightRule | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByID(id) | PreflightRule | IDで指定したオブジェクトを返す | |||
| id | 数値 | ||||
| itemByName(name) | PreflightRule | 名前で指定したオブジェクトを返す | |||
| name | 文字列値 | ||||
| itemByRange(from, to) | PreflightRule (Array) | 範囲で指定したオブジェクトを返す | |||
| from | PreflightRule, 数値, 文字列値 | 範囲の開始 | |||
| to | PreflightRule, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | PreflightRule | 最後のオブジェクトを返す | |||
| middleItem() | PreflightRule | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | PreflightRule | 一つ後のオブジェクトを返す | |||
| obj | PreflightRule | 位置の基準になるオブジェクト | |||
| previousItem(obj) | PreflightRule | 一つ前のオブジェクトを返す | |||
| obj | PreflightRule | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
A preflight rule
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Application | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| description | ○ | 文字列値 | The description of the PreflightRule. | |
| fullFeature | 真偽値 | If true, the preflight rule is fully supported. | ||
| id | ○ | 文字列値 | The rule ID for this rule. | |
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| name | ○ | 文字列値 | オブジェクトの名前 | |
| properties | Object |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| getElements() | Array( PreflightRule ) | オブジェクト参照を返す | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||