Docs
API
  • renderOuter

    Mixed

    renderOuter is alternative to renderTo.
    The only difference is that widget renders not in container but fills containers.
    It helps to avoid using extra dom element as container. .

    Example: String

    
    <div id="container"></div>
    ...
    
    new FancyGrid({    
      renderOuter: 'container',
      width: 690,
      height: 350,
      ...
    

    Example: Dom

    
    <div id="container"></div>
    ...
    
    new FancyGrid({
      renderOuter: document.querySelector('#container'),
      width: 690,
      height: 350,
      ...
    

    Default

    
     undefined