# Core


Content :
  1. Selector and Selector Engines.

The Siga object. Use Siga('selector') for quick DOM access when built with the DOM module.

This alias will be used as an alternative to Siga(). If __Siga_alias is present in the global scope this will be used instead.

Siga has been designed much like Glow-style libraries, so we’ll use this approach for our API. There’s a lazy aspect to this design that I like — it might be possible to return unprocessed elements wrapped in an object, then only deal with masking browser inconsistencies when they’re actually manipulated:

                  
Siga.dom.find ('.class' )                    // return elements wrapped in a class without looking at each of them
 .find ('a' )                               // find elements that are links
 .css ({ 'background-color' : '#aabbcc' }) // apply the style by actually processing elements                    
                  
                

Selector and Selector Engines :
                  
Siga.events.ready(function () {
  // The DOM is ready, but some other stuff might be
});