mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): updating to newest stencil apis (#18578)
* chore(): update ionicons * refactor(all): updating to newest stencil apis * fix lint issues * more changes * moreee * fix treeshaking * fix config * fix checkbox * fix stuff * chore(): update ionicons * fix linting errors
This commit is contained in:
@ -77,8 +77,8 @@ export function pointerCoord(ev: any): {x: number, y: number} {
|
||||
* @param side the side
|
||||
* @param isRTL whether the application dir is rtl
|
||||
*/
|
||||
export function isEndSide(win: Window, side: Side): boolean {
|
||||
const isRTL = win.document.dir === 'rtl';
|
||||
export function isEndSide(side: Side): boolean {
|
||||
const isRTL = document.dir === 'rtl';
|
||||
switch (side) {
|
||||
case 'start': return isRTL;
|
||||
case 'end': return !isRTL;
|
||||
|
||||
Reference in New Issue
Block a user