MCPcopy
hub / github.com/codex-team/editor.js / stretched

Method stretched

src/components/block/index.ts:468–470  ·  view source on GitHub ↗

* Set stretched state * * @param {boolean} state - 'true' to enable, 'false' to disable stretched state

(state: boolean)

Source from the content-addressed store, hash-verified

466 * @param {boolean} state - 'true' to enable, 'false' to disable stretched state
467 */
468 public set stretched(state: boolean) {
469 this.holder.classList.toggle(Block.CSS.wrapperStretched, state);
470 }
471
472 /**
473 * Return Block's stretched state

Callers

nothing calls this directly

Calls 1

toggleMethod · 0.45

Tested by

no test coverage detected