sesaparcours
    Preparing search index...

    Interface Ace

    interface Ace {
        createEditSession(text: string | Document, mode: TextMode): IEditSession;
        edit(el: string | HTMLElement): Editor;
        require(moduleName: string): any;
    }
    Index

    Methods

    • Creates a new [[EditSession]], and returns the associated [[Document]].

      Parameters

      Returns IEditSession

    • Embeds the Ace editor into the DOM, at the element provided by el.

      Parameters

      • el: string | HTMLElement

        Either the id of an element, or the element itself

      Returns Editor

    • Provides access to require in packed noconflict mode

      Parameters

      • moduleName: string

      Returns any