* Checks if the element is in a given state. e.g. el.is('alive'); * * @param {string} state - Name of the state we want to check
(state)
| 761 | * @param {string} state - Name of the state we want to check |
| 762 | */ |
| 763 | is (state) { |
| 764 | return this.states.indexOf(state) !== -1; |
| 765 | } |
| 766 | |
| 767 | /** |
| 768 | * Open Inspector to this entity. |
no outgoing calls
no test coverage detected