この関数は、指定したプロパティの値をpropertyValue
に設定します。
パラメータ
名前 | タイプ | 説明 |
---|---|---|
|
文字列 |
プロパティの名前。 |
|
JSONオブジェクト |
プロパティの値。 |
関連プロパティ
この表は、setProperty()
を使用してフェッチできる一連の関連プロパティを示しています。
プロパティ名 | 説明 | 設定 | レンダリング |
---|---|---|---|
|
フレームの高さ |
該当なし |
はい |
|
フレームの幅 |
該当なし |
はい |
|
設定データ |
はい |
はい |
|
選択したスタイル・クラス |
はい |
はい |
|
ページ上のローカル・コンポーネントのインスタンスのバナーで使用されます |
||
|
ローカル・コンポーネントのみに対して現在選択されているレイアウトを返します。 |
||
|
レンダリングが終了したことをカスタム・コンポーネントがレポートできるようにします。 |
true |
|
|
使用方法
// configuration that can be saved var saveconfig = { //current settings id 'id': self.appSettingsProperties['settingsId'], 'url': self.url(), 'limit': self.limit() }; // save property 'customSettingsData' SitesSDK.setProperty('customSettingsData',saveconfig);