ons.modifier.add(myOnsInputElement, 'underbar');
ons.modifier.toggle(myOnsToastElement, 'custom-modifier');
| シグネチャ | 概要 |
|---|---|
| add(element, modifier [, modifier]) | Add the specified modifiers to the element if they are not already included. (翻訳中) |
| remove(element, modifier [, modifier]) | Remove the specified modifiers from the element if they are included. (翻訳中) |
| contains(element, modifier) | Check whether the specified modifier is included in the element. (翻訳中) |
| toggle(element, modifier [, force]) | Toggle the specified modifier. (翻訳中) |
Add the specified modifiers to the element if they are not already included. (翻訳中)
| 名前 | 型 | 概要 |
|---|---|---|
| element | HTMLElement | Target element. (翻訳中) |
| modifier | String | Name of the modifier. (翻訳中) |
Remove the specified modifiers from the element if they are included. (翻訳中)
| 名前 | 型 | 概要 |
|---|---|---|
| element | HTMLElement | Target element. (翻訳中) |
| modifier | String | Name of the modifier. (翻訳中) |
Check whether the specified modifier is included in the element. (翻訳中)
返り値:
| 名前 | 型 | 概要 |
|---|---|---|
| element | HTMLElement | Target element. (翻訳中) |
| modifier | String | Name of the modifier. (翻訳中) |
Toggle the specified modifier. (翻訳中)
| 名前 | 型 | 概要 |
|---|---|---|
| element | HTMLElement | Target element. (翻訳中) |
| modifier | String | Name of the modifier. (翻訳中) |
| force | String | If it evaluates to true, add specified modifier value, and if it evaluates to false, remove it. (翻訳中) |
Onsen UIに関する質問は、Stack Overflowにてonsen-uiタグを付与してください。Onsen UIチームはあなたの問題解決をお手伝いします。
バグ報告や機能要望については、GitHub Issuesに記載をお願いいたします。
あわせて、下記の情報も参考にしてください。